From 228e38ca283000d53fdfab8a1862a3099a8cca66 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 30 Apr 2023 18:40:16 -0500 Subject: [PATCH] Let's try mozilla's fixedCharAt function --- commands/drawDesign.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index 36b1db0..c13c4f5 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -213,6 +213,7 @@ function design4(input) { var charIterateState; function charIterate(input) { if (charIterateState == undefined) { + console.log("undefined! setting to zero"); charIterateState = 0; } else { if (charIterateState < (input.length - 1)) {