title: Find smallest value in Array without Math.min
body: <p>How can I find the lowest number in an array without using <code>Math.min.apply</code>?</p>
  <pre><code>var arr = [5,1,9,5,7];
  </code></pre>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const smallest = Math.min(...[5,1,9,5,7]);
  
  console.log({smallest});
  
  //old way
  const smallestES5 = Math.min.apply(null, [5,1,9,5,7]);
  
  console.log({smallestES5});</code></pre>
  </div>
  </div>
  </p>