Do you love JavaScript as much as we do? This week we're starting to release a series of puzzles for those of you who are into JavaScript … If you know the answer, feel free to post in the comments section below.
Explain why this JavaScript expression:
['10', '10', '10'].map(parseInt);
returns this array:
[ 10, NaN, 2 ]
Want to read more from our blog?Check out our blog post on Practical Functional JavaScript with Ramda!