Skip to content

Commit

Permalink
es6+beyond: ch2.md, fixing small word order issue
Browse files Browse the repository at this point in the history
Small word order change.  Original text:
"is... very not ideal, performance wise."
Changed to read:
"is... not very ideal, performance wise."
  • Loading branch information
gryffs authored Jul 25, 2016
1 parent 110b786 commit 4097081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es6 & beyond/ch2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2533,7 +2533,7 @@ var s1 = "abc\u0301d",
[...s3.normalize()][2]; // "𝒞"
```

**Warning:** Reminder of an earlier warning: constructing and exhausting an iterator each time you want to get at a single character is... very not ideal, performance wise. Let's hope we get a built-in and optimized utility for this soon, post-ES6.
**Warning:** Reminder of an earlier warning: constructing and exhausting an iterator each time you want to get at a single character is... not very ideal, performance wise. Let's hope we get a built-in and optimized utility for this soon, post-ES6.

What about a Unicode-aware version of the `charCodeAt(..)` utility? ES6 gives us `codePointAt(..)`:

Expand Down

0 comments on commit 4097081

Please sign in to comment.