title: How might I extract the property values of a JavaScript object into an array?
body: <p>Given a JavaScript object: </p>
  
  <pre><code>var dataObject = {
     object1: {id: 1, name: "Fred"}, 
     object2: {id: 2, name: "Wilma"}, 
     object3: {id: 3, name: "Pebbles"}
  };
  </code></pre>
  
  <p><strong>How do I efficiently extract the inner objects into an array?</strong>  I do not need to maintain a handle on the <em>object[n]</em> IDs.</p>
  
  <pre><code>var dataArray = [
      {id: 1, name: "Fred"}, 
      {id: 2, name: "Wilma"}, 
      {id: 3, name: "Pebbles"}]
  </code></pre>