Reading time: 1 minute
['10', '10', '10'].map(parseInt);
returns this array:
[ 10, NaN, 2 ]
Want to read more from our blog?