Let's try mozilla's fixedCharAt function
This commit is contained in:
parent
419ad415ed
commit
228e38ca28
@ -213,6 +213,7 @@ function design4(input) {
|
|||||||
var charIterateState;
|
var charIterateState;
|
||||||
function charIterate(input) {
|
function charIterate(input) {
|
||||||
if (charIterateState == undefined) {
|
if (charIterateState == undefined) {
|
||||||
|
console.log("undefined! setting to zero");
|
||||||
charIterateState = 0;
|
charIterateState = 0;
|
||||||
} else {
|
} else {
|
||||||
if (charIterateState < (input.length - 1)) {
|
if (charIterateState < (input.length - 1)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user