title: Why is math.max() returning NaN on an array of integers?
body: <p>I am trying to get the highest number from a simple array:</p>
  
  <pre><code>data = [4, 2, 6, 1, 3, 7, 5, 3];
  
  alert(Math.max(data));
  </code></pre>
  
  <p>I have read that if even one of the values in the array can't be converted to number, it will return <code>NaN</code>, but in my case, I have double-checked with <code>typeof</code> to make sure they are all numbers, so what can be my problem?</p>