Which of these javascript expressions is false?
Log in | Sign up @ davidagain @lemmy.world Posts 5Comments 1,286Joined 1 yr. ago
Log in | Sign up @ davidagain @lemmy.world
Posts
5
Comments
1,286
Joined
1 yr. ago
Deleted
Permanently Deleted
Deleted
Permanently Deleted
Deleted
deleted by user
Deleted
Permanently Deleted
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.