Skip to content

Commit 3ce2d96

Browse files
authored
Merge pull request #998 from GodAzaldin/master
Fixed an error in the 'An incomparable undefined' section. The value …
2 parents 6972b41 + d7834f2 commit 3ce2d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/08-comparison/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Why does it dislike zero so much? Always false!
193193
We get these results because:
194194

195195
- 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.
196-
- The equality check `(3)` returns `false` because `undefined` only equals `null` and no other value.
196+
- The equality check `(3)` returns `false` because `undefined` only equals `null`, `undefined`, and no other value.
197197

198198
### Evade problems
199199

0 commit comments

Comments
 (0)