title: Pushing value into a multidimensional array
body: <p>I have surfed the problem but couldn't get any possible solution ..</p>
  
  <p>Let's say i have a var like this</p>
  
  <pre><code>var data = [
             {
                'a':10,
                'b':20,
                'c':30
             },
             {
                'a':1,
                'b':2,
                'c':3
             },
             {
                'a':100,
                'b':200,
                'c':300
             }];
  </code></pre>
  
  <p>Now , i need a multidimensional array like</p>
  
  <pre><code>var values = [[10,1,100],    //a
                [20,2,200],    //b
                [30,3,300]];   //c
  </code></pre>
  
  <p>What i have tried is </p>
  
  <pre><code>var values = [];
  for(var key in data[0])
  {
     values.push([]);   // this creates a multidimesional array for each key
     for(var i=0;i&lt;data.length;i++)
     {
       // how to push data[i][key] in the multi dimensional array
     }
  }
  </code></pre>
  
  <p><strong>Note :</strong> <code>data.length</code> and <strong>number of keys</strong> keeps changing and i just want to be done using <code>push()</code> without any extra variables. Even i don't want to use extra <code>for</code> loops</p>
  
  <p>If you guys found any duplicate here , just put the link as comment without downvote </p>