{name : value} notation for arrays in Javascript
<p>I'm trying to do this for a multidimensional array and can't figure out why it doesn't work for a single dimensional array:</p>

<pre><code>function doArray() {
   var msg = [];
    msg.push({entryID : "test"});
    alert(msg[entryID]);
}
</code></pre>

<p>I get undefined when I try to alert it.  What's wrong here? Thanks.</p>
