map + parseInt - strange results
<pre><code>console.log("1,2,3".split(",").map(parseInt))
</code></pre>

<p>prints</p>

<pre><code>[1, NaN, NaN]
</code></pre>

<p>why?</p>

<p>Adding some more unnecessary text here to make this question "meet SO quality standards", whatever that means.</p>
