title: building a multidimensional array in javascript
body: <p>I wanting to replicate this array structure in Javascript, but I cannot figure out how to do it, in my php I have the following,</p>
  <pre><code>$myArray = array();
  $myArray['location1'] = array('name' =&gt; 'Texas', 'person' =&gt; 'Jim');  
  $myArray['location2'] = array('name' =&gt; 'California', 'person' =&gt; 'Jeff');  
  </code></pre>
  <p>This would leave me a structure that looks like,</p>
  <pre><code>myArray = array(
      'location1' = array('name' =&gt; 'Texas', 'person' =&gt; 'Jim')
      'location2' = array('name' =&gt; 'California', 'person' =&gt; 'Jeff')
  )
  </code></pre>
  <p>What I wanting in javascript is an array that holds other arrays and the sub arrays are keyed is this possible?</p>