Let's try mozilla's fixedCharAt function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user