title: for loop with break vs find() in JavaScript
body: <p>Just saw someone write this:</p>
  
  <pre><code>let id = 1;
  ...
  let employee = null;
  
  for (const e of employees) {
      if (e.id === id) {
          employee = e;
          break;
      }
  }
  </code></pre>
  
  <p>seems like an overcomplicated way of writing this:</p>
  
  <pre><code>let id = 1;
  ...
  let employee = employees.find(e =&gt; e.id === id);
  </code></pre>
  
  <p>Is there any benefit to using a loop with a <code>break</code> vs a <code>find()</code>? </p>
  
  <p><em>What is <code>find()</code>'s implementation behind the curtain?</em></p>