Map numbers String to Array of numbers
<p>I can't see why this code doesn't produce numbers. Can anyone explain please?</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>a = '1 3 2 6 1 2'.split(' ');
a = a.map(Number);

for (item in a){
    console.log(typeof(item));
}</code></pre>
</div>
</div>
</p>

<p>The output for me in Chrome is 6 strings.</p>