You must log in or register to comment.
Ahhh… javascript…
Omg it even works for “NaN”
NaN is actually a number in JavaScript
tbf its the floating point standards fault
I had to check if that’s actually true. And yep, this is real.
It works the other way around as well
Take my angry upvote!