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