Last active
March 15, 2018 15:44
-
-
Save jorgeortega/debb3f0c81011d0a2f11d7140fb81859 to your computer and use it in GitHub Desktop.
Clear all timeouts in window
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
var id=window.setTimeout(function(){},0); | |
while(id--){window.clearTimeout(id);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment