This code:
['1', '5', '11'].map(parseInt);
returns this:
[ 1, NaN, 3 ]
![Run '['1', '5', '11'].map(parseInt)' in JavaScript console.](/posts/why-1-5-11-map-parse-int-returns-1-nan-3-in-javascript/javascript_console.png)
This behavior is because map callback function actually takes 3 arguments:

So you're actually calling parseInt with 3 args (parseInt take 2 arguments max).
The good way is be explicit:
['1', '5', '11'].map((n) => parseInt(n));