Fixed an error in the 'An incomparable undefined' section. The value 'undefined' is not only equal to 'null', but to 'undefined' as well.

This commit is contained in:
Azaldin Freidoon 2019-05-19 19:22:53 -07:00
parent f651e963d7
commit d7834f29e8

View file

@ -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