title: nodejs How can I create multidimensional array?
body: <p>How can I create a multidimensional array in nodejs? And push data in it? </p>
  
  <p>How can I get an old-fashioned array inside an array, like this:</p>
  
  <pre><code>array{ sub_array1[(key1, value1)(key2,value2)],sub_array2[(key1, value1)(key2,value2)]}
  </code></pre>
  
  <p>So far I have tried lots of combinations of:</p>
  
  <pre><code>array.push()
  </code></pre>
  
  <hr>
  
  <p>okie., as per answered by <strong>rsp</strong> .,
  i have managed to get it like this</p>
  
  <pre><code>out_array.push( {   'key1' :value1,
                      'key2' : value2 ,
                      'key3': value3,
                      'key4': value4,
                      'key5': value5
                  } );
  </code></pre>