Let's try mozilla's fixedCharAt function

This commit is contained in:
2023-04-30 23:08:40 -05:00
parent 3830138180
commit fa162325de
3 changed files with 1100 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ function charIterate(input) {
}
}
if (charIterateState == undefined) {
console.log("undefined! setting to zero");
//console.log("undefined! setting to zero");
charIterateState = 0;
} else {
if (charIterateState < stringLength) {
@@ -238,7 +238,7 @@ function charIterate(input) {
charIterateState = 0;
}
}
console.log(charIterateState, fixedCharAt(input, charIterateState));
//console.log(charIterateState, fixedCharAt(input, charIterateState));
return charIterateState;
}