Quick way to create array from another array's variables?
<p>Lets say I have 2 arrays:</p>

<pre><code>var a = [];
var b = [];

a.push({id:1, name:"Joe"});
a.push({id:2, name:"Jeff"});
a.push({id:3, name:"John"});
</code></pre>

<p>Is there a quick way to populate <code>b</code> with just <code>a</code>'s names in Javascript, or do I have to use a loop?</p>

<p>E.g, something like:</p>

<pre><code>b = a[].name;    // b is now ["Joe","Jeff","John"]
</code></pre>
