You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/en/other/timeouts.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,9 @@ it is necessary to use brute force in order to achieve this functionality.
97
97
But there might still be timeouts that are unaffected by this arbitrary number. Another way of doing this is to consider that the ID given to a timeout is incremented by one everytime you call `setTimeout`.
98
98
99
99
// clear "all" timeouts
100
-
for(var i = 1; i <= window.setTimeout(function(){}, 1); i++) {
100
+
var biggestTimeoutId = window.setTimeout(function(){}, 1),
0 commit comments