Who Gopu
|
About
|
|
|
Things that comes to my mind
Why [‘1’, ‘5’, ’11’].map(parseInt) returns [1,NaN,3]?
February 18, 2021
1 | Problem? This is weird? Isn’t it. JavaScript is full of such type of cases. I know you must be expecting that it should return [1, 5, 11]. Then why it is behaving in such an unexpected manner?