title: How do I convert array of Objects into one Object in JavaScript?
body: <p>I have an array of objects:</p>
  <pre><code>[ 
    { key : '11', value : '1100', $$hashKey : '00X' },
    { key : '22', value : '2200', $$hashKey : '018' }
  ];
  </code></pre>
  <p>How do I convert it into the following by JavaScript?</p>
  <pre><code>{
    &quot;11&quot;: &quot;1100&quot;,
    &quot;22&quot;: &quot;2200&quot;
  }
  </code></pre>