Skip to content

Commit be26995

Browse files
authored
Update article.md
Fix typo.
1 parent 9b39291 commit be26995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/08-comparison/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The same thing with an empty string:
120120
alert( '' == false ); // true
121121
```
122122

123-
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.
123+
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.
124124

125125
What to do if we'd like to differentiate `0` from `false`?
126126

0 commit comments

Comments
 (0)