I always thought that NaN is required by IEEE rules to never equal any other number, including itself, because you can make NaN in different ways and this shouldn’t result in equality or something, so C is wild but not javascript’s fault.
The other three being true is definitely javascript’s insane fault, though.
It’s C
No, it’s Javascript, keep up
Javascript is basically just C with some syntactical sugar, right? RIGHT?!?
Say when…
To the contrary, it’s Lisp with a lot of syntactic sugar to make it look more like C, but underneath it’s nothing like C. It’s a weird hybrid.
I would say that your username doesn’t check out, but being honest we’re all coders, or at least script kiddie pirates, around here.
For reference.
Wtf? Min > Max???
deleted by creator
I always thought that NaN is required by IEEE rules to never equal any other number, including itself, because you can make NaN in different ways and this shouldn’t result in equality or something, so C is wild but not javascript’s fault.
The other three being true is definitely javascript’s insane fault, though.
Completely wrong. I’m hoping this was a joke… :-D