|
|
@ -217,6 +217,7 @@ function charIterate(input) {
|
|
|
|
for (let i = 0; i < stringLength; ++i) {
|
|
|
|
for (let i = 0; i < stringLength; ++i) {
|
|
|
|
if (surrogatePairs.exec(input.charCodeAt(charIterateState)) !== null) {
|
|
|
|
if (surrogatePairs.exec(input.charCodeAt(charIterateState)) !== null) {
|
|
|
|
stringLength--;
|
|
|
|
stringLength--;
|
|
|
|
|
|
|
|
console.log("Decreasing stringLength variable to", stringLength);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (charIterateState == undefined) {
|
|
|
|
if (charIterateState == undefined) {
|
|
|
|