add zero-width space

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-09 09:15:21 -05:00
parent 91bfd3fd02
commit 0f3be1b298

View File

@ -215,12 +215,12 @@ function charIterate(input) {
if (charIterateState == undefined) {
charIterateState = 0;
}
console.log(charIterateState, input.charAt(charIterate));
if (charIterateState < input.length) {
charIterateState++;
} else {
charIterateState = 0;
}
console.log(charIterateState, input.charAt(charIterate));
return charIterateState;
}