Merge pull request #998 from GodAzaldin/master
Fixed an error in the 'An incomparable undefined' section. The value …
This commit is contained in:
commit
3ce2d96948
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ Why does it dislike zero so much? Always false!
|
|||
We get these results because:
|
||||
|
||||
- Comparisons `(1)` and `(2)` return `false` because `undefined` gets converted to `NaN` and `NaN` is a special numeric value which returns `false` for all comparisons.
|
||||
- The equality check `(3)` returns `false` because `undefined` only equals `null` and no other value.
|
||||
- The equality check `(3)` returns `false` because `undefined` only equals `null`, `undefined`, and no other value.
|
||||
|
||||
### Evade problems
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue