- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
You must log in or register to comment.
yep, because it’s two different instances of an object
Completely wrong. I’m hoping this was a joke… :-D
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.