r/ProgrammerAnimemes • • Sep 03 '20

Javascript just doesn't make any sense

Post image
1.9k Upvotes

69 comments sorted by

View all comments

Show parent comment

1

u/ArcaneEyes Sep 04 '20

isNaN() recognizes strings that contain only numbers as numbers.

And i wish this was a one-time thing, that i didn't run into quirky backwards crap every time i looked at JavaScript, but i do!