7 ms·
Guess the result of this fragment: ["1", "2", "3"].map(parseInt)
by implicit 12y ago
Guess the result of this fragment:
["1", "2", "3"].map(parseInt)
- deleted 12y ago[deleted]
- Kiro 12y agoOk, that's crazy. Here's the explanation for anyone interested: http://stackoverflow.com/questions/14528397/strange-behavior-for-map-parseint http://stackoverflow.com/questions/14528397/strange-behavior...