Last active
July 4, 2023 09:34
-
-
Save mcenirm/4165198 to your computer and use it in GitHub Desktop.
clear all intervals (javascript)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(w){w = w || window; var i = w.setInterval(function(){},100000); while(i>=0) { w.clearInterval(i--); }})(/*window*/); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i gotta say this is elegant