title: Extract each value of a single property from an array of objects in jQuery
body: <p>I need to create a new object iterating over an array of objects which initially looks like this:   </p>
  
  <pre><code>startObj = [{'prop': true}, {'prop': false}];
  </code></pre>
  
  <p>I would like the result to be:</p>
  
  <pre><code>endObj = {0: true, 1: false}
  </code></pre>
  
  <p>I was thinking to use <code>$.each</code> but then I don't know how to proceed from here. Any hints?</p>
  
  <pre><code>$.each([{'prop': true}, {'prop': false}], function (i, o) {
      var newObj;
      // the new object should look like this
      // newObj = {0: true, 1: false}
  });
  </code></pre>