fixes
This commit is contained in:
parent
f16b0cf21d
commit
d7bdee140f
4 changed files with 7 additions and 5 deletions
|
@ -180,7 +180,7 @@ The reason is that an equality check `==` and comparisons `> < >= <=` work diffe
|
|||
|
||||
From the other hand, the equality check `==` for `undefined` and `null` works by the rule, without any conversions. They equal each other and don't equal anything else. That's why (2) `null == 0` is false.
|
||||
|
||||
### An uncomparable undefined
|
||||
### An incomparable undefined
|
||||
|
||||
The value `undefined` shouldn't participate in comparisons at all:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue