Update article.md

Fix typo.
This commit is contained in:
cpxPratik 2017-07-28 15:08:42 +05:45 committed by GitHub
parent 9b39291509
commit be2699514a

View file

@ -120,7 +120,7 @@ The same thing with an empty string:
alert( '' == false ); // true 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`? What to do if we'd like to differentiate `0` from `false`?