title: How to convert nested object to array of objects in javascript
body: <p>I have a data that the structure is like below:</p>
  
  <pre><code>var data = Object {
      0 = {
          user : 1
          job  : call center
      },
      1 = {
          user : 2
          job  : programmer
      }
  }
  </code></pre>
  
  <p>Now I want to convert them to array of objects that looks like this:</p>
  
  <pre><code>[Object {user : 1, job  : call center}, {user : 2, job  : programmer} ]
  </code></pre>
  
  <p>Is it possible? How can I convert them.  Any help, thanks. </p>