title: How to loop through array of objects and make key value pairs?
body: <p>I have an array of objects like this: </p>
  
  <pre><code>let someObj = {
      items: [{
          id: '12',
          value: true
      }, {
          id: '34',
          value: true
      }, {
          id: '56',
          value: false
      }]
  
  }
  </code></pre>
  
  <p>I want add this to an exiting object, where id is a key of this object, like this: </p>
  
  <pre><code>let obj = {
      someKey: someValue,
      '12': true,
      '34': true,
      '56': false,
  }
  </code></pre>