You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/08-comparison/article.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ Why does it dislike zero so much? Always false!
193
193
We get these results because:
194
194
195
195
- 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.
0 commit comments