What's wrong with parseInt?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/262427/javascript-array-map-and-parseint">javascript - Array.map and parseInt</a>  </p>
</blockquote>



<p>I stumbled across the following code snippet:</p>

<pre><code>&gt; ['10','10','10','10','10'].map(parseInt);
[10, NaN, 2, 3, 4]
</code></pre>

<p>What's happening here?</p>
