title: Add property to each object in the array
body: <p>I'm trying to add a property to each object in the array:</p>
  
  <pre><code>var capitals = [{
      country: "What's the capital of Ecuador?",
      choices: ["Quito", "Caracas", "Panama", "Loja"],
      corAnswer: 0
  }, {
      country: "What is the capital of China?",
      choices: ["Shanghai", "Beijing", "Ghangzou", "Hong Kong"],
      corAnswer: 0
  }];
  </code></pre>
  
  <p>Should become:</p>
  
  <pre><code>var capitals = [{
          country: "What's the capital of Ecuador?",
          choices: ["Quito", "Caracas", "Panama", "Loja"],
          corAnswer: 0,
          global: true
      }, {
          country: "What is the capital of China?",
          choices: ["Shanghai", "Beijing", "Ghangzou", "Hong Kong"],
          corAnswer: 0,
          global: true
      }];
  </code></pre>
  
  <p>The array can contain multiple objects. What kind of function do I need?</p>