title: Find object in array which is not exist and it returns inconsistent value instead of undefined. Why?
body: <p>When I try to find a non-exist object element in an array, it's shown inconsistent result instead of undefined .., why? </p>
  
  <pre><code>const a = [{ id: 1, name: '1' }, { id: 2, name: '2' }, { id: 3, name: '3' }, { id: 4, name: '4' }]
  const b = a.find(result =&gt; result.id = 100)
  console.log(b)
  
  
  // result { id: 100, name: '1' }
  </code></pre>