I am trying to create a multidimenssional array like this
var myArray = new Array();
var test = new Array(1, 100,200,2);
$.each(test, function(index, val) {
myArray['value'].push(val);
myArray['index'].push(index);
});
but console.log(myArray) shows me no values;