why this not adding to array
<p>I am trying to create a multidimenssional array like this</p>

<pre><code>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);
        });
</code></pre>

<p>but console.log(myArray) shows me no values;</p>
