From d7834f29e8df825c6975cc6da3216127bbbd1ff0 Mon Sep 17 00:00:00 2001 From: Azaldin Freidoon Date: Sun, 19 May 2019 19:22:53 -0700 Subject: [PATCH] Fixed an error in the 'An incomparable undefined' section. The value 'undefined' is not only equal to 'null', but to 'undefined' as well. --- 1-js/02-first-steps/08-comparison/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/08-comparison/article.md b/1-js/02-first-steps/08-comparison/article.md index 3d5cc172..8697076a 100644 --- a/1-js/02-first-steps/08-comparison/article.md +++ b/1-js/02-first-steps/08-comparison/article.md @@ -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