Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-09 09:15:35 -05:00
commit 5b82520a02

View File

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