Let's try mozilla's fixedCharAt function

master
Caleb Fontenot 2023-04-30 19:03:13 +07:00
parent 35af3ce870
commit 5cf9dab550
1 changed files with 1 additions and 1 deletions

@ -220,7 +220,7 @@ function charIterate(input) {
if (charIterateState < (input.length - 1)) {
charIterateState++;
if (surrogatePairs.exec(input.charCodeAt(charIterateState)) !== null) {
charIterateState++;
//charIterateState++;
}
} else {
charIterateState = 0;