File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
1-js/02-first-steps/08-comparison Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ For a strict equality check `===`
153153 ```
154154
155155For a non-strict check ` == `
156- : There's a special rule. These two are a "sweet couple": they equal each other (in the sense of ` == ` ), but no any other value.
156+ : There's a special rule. These two are a "sweet couple": they equal each other (in the sense of ` == ` ), but not any other value.
157157
158158 ```js run
159159 alert( null == undefined ); // true
@@ -162,7 +162,7 @@ For a non-strict check `==`
162162For maths and other comparisons ` < > <= >= `
163163: Values ` null/undefined ` are converted to a number: ` null ` becomes ` 0 ` , while ` undefined ` becomes ` NaN ` .
164164
165- Now let's see funny things that happen when we apply those rules. And, what's more important, how do not fall into a trap with these features.
165+ Now let's see funny things that happen when we apply those rules. And, what's more important, how to not fall into a trap with these features.
166166
167167### Strange result: null vs 0
168168
You can’t perform that action at this time.
0 commit comments