From be2699514a4a5d716eb21c8347a38a59d4bc0190 Mon Sep 17 00:00:00 2001 From: cpxPratik Date: Fri, 28 Jul 2017 15:08:42 +0545 Subject: [PATCH] Update article.md Fix typo. --- 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 7b6b91c5..df97ac5a 100644 --- a/1-js/02-first-steps/08-comparison/article.md +++ b/1-js/02-first-steps/08-comparison/article.md @@ -120,7 +120,7 @@ The same thing with an empty string: alert( '' == false ); // true ``` -That's because operands of different types are converted to a number by the assignment operator `=`. An empty string, just like `false`, becomes a zero. +That's because operands of different types are converted to a number by the equality operator `==`. An empty string, just like `false`, becomes a zero. What to do if we'd like to differentiate `0` from `false`?