Skip to content

Commit 01c97f7

Browse files
committed
Fix typo (fixes nzakas#345)
1 parent 9d4f10c commit 01c97f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manuscript/B-ECMAScript-7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Appendix B: Understanding ECMAScript 7 (2016)
1+
# Appendix B: Understanding ECMAScript 7 (2016)
22

33
The development of ECMAScript 6 took about four years, and after that, TC-39 decided that such a long development process was unsustainable. Instead, they moved to a yearly release cycle to ensure new language features would make it into development sooner.
44

@@ -89,7 +89,7 @@ Here, calling `values.includes()` returns `true` for the value of `1` and `false
8989

9090
### Value Comparison
9191

92-
The value comparison performed by the `includes()` method uses the `===` operotor with one exception: `NaN` is considered equal to `NaN` even though `NaN === NaN` evaluates to `false`. This is different than the behavior of the `indexOf()` method, which strictly uses `===` for comparison. To see the difference, consider this code:
92+
The value comparison performed by the `includes()` method uses the `===` operator with one exception: `NaN` is considered equal to `NaN` even though `NaN === NaN` evaluates to `false`. This is different than the behavior of the `indexOf()` method, which strictly uses `===` for comparison. To see the difference, consider this code:
9393

9494
```js
9595
let values = [1, NaN, 2];

0 commit comments

Comments
 (0)