Skip to content

Commit 99b51ef

Browse files
authored
Merge pull request lydiahallie#32 from donfak/patch-1
Fixing typo
2 parents 442935c + 8af62dd commit 99b51ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ console.log(b === c);
229229

230230
`new Number()` is a built-in function constructor. Although it looks like a number, it's not really a number: it has a bunch of extra features and is an object.
231231

232-
When we use the `==` operator, it only checks whether it has the same _value_. They do they both have the value of `3`, so it returns `true`.
232+
When we use the `==` operator, it only checks whether it has the same _value_. They both have the value of `3`, so it returns `true`.
233233

234234
However, when we use the `===` operator, both value _and_ type should be the same. It's not: `new Number()` is not a number, it's an **object**. Both return `false.`
235235

0 commit comments

Comments
 (0)