Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cf1782a

Browse files
authored
Fixed typo - changed 'no any other value' to 'not'
1 parent 50483c3 commit cf1782a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ For a strict equality check `===`
153153
```
154154

155155
For 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 `==`
162162
For 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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /