title: How can I map array items to new object with custom properties?
body: <p>This is my array:</p>
  
  <pre><code>const arr = ['first string', 'second string'];
  </code></pre>
  
  <p>How can I map this, so I get:</p>
  
  <pre><code>const obj = {'first string': 'found', 'second string', 'found'};
  </code></pre>
  
  <p>I have tried this:</p>
  
  <p><code>const obj = arr.forEach(item =&gt; {item: 'found'})</code> but it is not working.</p>