How to use jQuery.map() on array of objects to return array of arrays
<p>I would like to use jQuery to convert an array of objects to array of arrays using map.</p>

<p>For example if I have this:</p>

<pre><code>var ObjArr = [{ a:1,b:2 },{ a:2,b:3 },{ a:3,b:4 }];
var ArrArr = $.map(ObjArr, function(n,i){
   return [ n.a, n.b ];
});
</code></pre>

<p>So that the result would be:</p>

<pre><code>ArrArr = [[1,2],[2,3],[3,4]]
</code></pre>
