You must log in or register to comment.
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.
Ahhh… javascript…
It works the other way around as well
Take my angry upvote!