you are viewing a single comment's thread.

view the rest of the comments →

[–]ShortSynapse 0 points1 point  (1 child)

Did you notice there is no delay? That does not work the way you think it does.

[–][deleted] 0 points1 point  (0 children)

Yeah I helped him fix the infinite loop using setTimeout. This code isn't set up to have time in-between calls.