title: How to add properties dynamically to each object in an javascript array
body: <p>I am trying to loop through an array of objects to prepend a property and value to each object . The order of the tables is important because I am trying to use a handsontable view as a client to retrieve the contents of a server side mysql table. I want the handsontable view to have the same column order as the table , but I want to insert a checkbox column as the first column to allow record selection. I have a fiddle <a href="http://jsfiddle.net/kc11/juo1e4at/#base" rel="nofollow">http://jsfiddle.net/kc11/juo1e4at/#base</a> that does the loop, but I'm not sure how to prepend each object's property-value pair. array unshift appears to be for arrays. I'd like a result of an object to look go from:</p>
  
  <pre><code>Object { car="Audi A4 Avant", year=2011, available=true, more...}
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>Object { checkbox=false, car="Audi A4 Avant", year=2011, available=true, more...}
  </code></pre>
  
  <p>How can I make this happen</p>