Answers for "js array + array"

VBA
145

javascript array

//create an array like so:
var colors = ["red","blue","green"];

//you can loop through an array like this:
for (var i = 0; i < colors.length; i++) {
    console.log(colors[i]);
}
Posted by: Guest on July-01-2019
3

return array javascript

function func() {
  return [5, "string", {a: 7}];
}
Posted by: Guest on May-20-2020
2

array javascript

var familly = []; //no familly :(
var familly = new Array() // uncommon
var familly = [Talel, Wafa, Eline, True, 4];
console.log(familly[0]) //Talel
familly[0] + "<3" + familly[1] //Talel <3 Wafa
familly[3] = "Amir"; //New coming member in the family
Posted by: Guest on November-25-2020
0

javascript array

[0,1,2,3]
Posted by: Guest on November-26-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language