Skip to content

Instantly share code, notes, and snippets.

@jessycormier
Last active May 30, 2023 18:31
Show Gist options
  • Save jessycormier/c9985a6ecbe750c42c260149581d931f to your computer and use it in GitHub Desktop.
Save jessycormier/c9985a6ecbe750c42c260149581d931f to your computer and use it in GitHub Desktop.
timer/timeout reset
var timer = setInterval( function() { /* do your thing */ }, 125);;
function stopTimer() { clearTimeout(timer); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment