js array for i site:stackoverflow.com code example
Example: javascript array stackoverflow
var myArray = [];
var id = 12;
var value = 44;
myArray[id]=value;
var myArray = [];
var id = 12;
var value = 44;
myArray[id]=value;