Skip to content

Instantly share code, notes, and snippets.

@shamilnabiyev
Last active June 27, 2019 09:56
Show Gist options
  • Save shamilnabiyev/d4d99c9819ca188ae6ba6cc17440ee97 to your computer and use it in GitHub Desktop.
Save shamilnabiyev/d4d99c9819ca188ae6ba6cc17440ee97 to your computer and use it in GitHub Desktop.
Why ['1', '7', '11'].map(parseInt) returns [1, NaN, 3] in Javascript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment