From 11860c30c25b3ef2493fcd789e55218470351309 Mon Sep 17 00:00:00 2001 From: kitiya Date: Fri, 1 Sep 2017 15:54:26 -0600 Subject: [PATCH] Update solution.md - question 2 Question 2: Changing from "true" to "false" --- .../08-comparison/1-comparison-questions/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/08-comparison/1-comparison-questions/solution.md b/1-js/02-first-steps/08-comparison/1-comparison-questions/solution.md index e1f50ce1..5c8bd2bc 100644 --- a/1-js/02-first-steps/08-comparison/1-comparison-questions/solution.md +++ b/1-js/02-first-steps/08-comparison/1-comparison-questions/solution.md @@ -13,7 +13,7 @@ null === +"\n0\n" → false Some of the reasons: 1. Obviously, true. -2. Dictionary comparison, hence true. +2. Dictionary comparison, hence false. 3. Again, dictionary comparison, first char of `"2"` is greater than the first char of `"1"`. 4. Values `null` and `undefined` equal each other only. 5. Strict equality is strict. Different types from both sides lead to false.