title: Match in pairs from Object javascript
body: <p>I have an object in javascript like this:</p>
  
  <pre><code>Object {1-name: "Count", 1-value: "10", 2-name: "Colour", 2-value: "Red"}
  </code></pre>
  
  <p>I want to make from it key-value array, something like this:</p>
  
  <pre><code>array[Count] = 10
  array[Colour] = "Red"
  </code></pre>
  
  <p>How can I match pairs from this object?</p>