title: How can I add a field to each row of an array with Javascript?
body: <p>I have a javascript variable:</p>
  
  <pre><code>var x = 
  {"ab":"x",
   "cd":"y",
   "de":"z",
   "answers":[
      {"answerId":222,"answerUId":1,"text":"x"},
      {"answerId":223,"answerUId":2,"text":"A"},
      {"answerId":224,"answerUId":3,"text":"A"}
   ]
  }
  </code></pre>
  
  <p>How can I add a field to each element of the answers array called response with a value of null ?</p>