News for hackers. Stuff that matters.
Re:JavaScript: The Curious Case of null >= 0 by adwn on Saturday September 09, 2017 @11:13AM (#15207451)
> X == Y: !(X < Y) && !(Y > X)

Only for totally ordered sets [1]. Floating-point numbers, for example, are not totally ordered, because !(NaN == NaN).

[1] https://en.wikipedia.org/wiki/Total_order

There are no comments on this comment yet.