title: Math.max() not working as expected
body: <p>I have this following function, where <code>Math.max()</code> is not working as expected. It is always alerting the 1st value from the arguments that are passing. Where is the mistake?</p>
  
  <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>function large(arr) {
     alert(Math.max(arr))
  }
  
  large(1,2,3,4,5);</code></pre>
  </div>
  </div>
  </p>