From 35af3ce870cfe60944eba0e8a7c72251ac983bb6 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 30 Apr 2023 18:59:53 -0500 Subject: [PATCH] Let's try mozilla's fixedCharAt function --- commands/drawDesign.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index 648aa70..c511beb 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -226,7 +226,7 @@ function charIterate(input) { charIterateState = 0; } } - console.log(charIterateState, input.charAt(charIterateState)); + console.log(charIterateState, fixedCharAt(input, charIterateState)); return charIterateState; }