From 4097081aca6194e0b4fe46b8953bab6ae9dce95d Mon Sep 17 00:00:00 2001 From: Chad Griffis Date: Sun, 24 Jul 2016 20:47:55 -0500 Subject: [PATCH] es6+beyond: ch2.md, fixing small word order issue Small word order change. Original text: "is... very not ideal, performance wise." Changed to read: "is... not very ideal, performance wise." --- es6 & beyond/ch2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es6 & beyond/ch2.md b/es6 & beyond/ch2.md index 9f07cb2c2..621313645 100644 --- a/es6 & beyond/ch2.md +++ b/es6 & beyond/ch2.md @@ -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(..)`: