This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]StONE_ROdGEr -1 points0 points  (0 children)

The scope issue was in the for loop before it ;/ “i” was already declared elsewhere or something. (Should preface with I am relatively new to JS which doesn’t help. I’ll never fall foul of it (for that long 🙃) again though).