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