endJS

Less Than or Equal to Is Not a Total Order

The less than or equal to comparison operator is not a total order. This is because it is not anti-symmetric:

> null <= 0
true
> 0 <= null
true
> null == 0
false