title: Add field to a new JavaScript array copy
body: <p>I have a JavaScript array which has the follow structure:</p>
  
  <pre><code>[{id:'id1', container:'3', routing:'4'},{id:'id2', container:'2', routing:'5'},..]
  </code></pre>
  
  <p>Now through the command 'push' i was able to make a copy of this array. My question is how to add a new element (NEWFIELD) to the new array, to become like this:</p>
  
  <pre><code>[{id:'id1', container:'3', routing:'4',NEWFIELD:'X'},{id:'id2', container:'2', routing:'5',NEWFIELD:'Y'},..]
  </code></pre>