Skip to content

Commit a26dce1

Browse files
authored
Fix typo in "What is the difference between == and === in JavaScript?" quiz question (#47)
1 parent f25abac commit a26dce1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • questions/what-is-the-difference-between-double-equal-and-triple-equal

questions/what-is-the-difference-between-double-equal-and-triple-equal/en-US.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ console.log(null === undefined); // false
7373

7474
### Bonus: `Object.is()`
7575

76-
There's one final value-comparison operation within JavaScript, that is the [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) static method. The only difference between `Object.is()` and `===` is how they treat of signed zeros and `NaN` values. The `===` operator (and the `==` operator) treats the number values `-0` and `+0` as equal, but treats `NaN` as not equal to each other.
76+
There's one final value-comparison operation within JavaScript, that is the [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) static method. The only difference between `Object.is()` and `===` is how they treat signed zeros and `NaN` values. The `===` operator (and the `==` operator) treats the number values `-0` and `+0` as equal, but treats `NaN` as not equal to each other.
7777

7878
## Conclusion
7979

0 commit comments

Comments
 (0)