Ahhh… javascript…
this post was submitted on 12 Jun 2023
7 points (100.0% liked)
Programmer Humor
32427 readers
568 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
Omg it even works for “NaN”
NaN is actually a number in JavaScript
tbf its the floating point standards fault
It works the other way around as well
Take my angry upvote!
I had to check if that's actually true. And yep, this is real.