var max = setTimeout(";");
for (var i=1; i< max; i++) clearTimeout(i);
I'm found the code in stack overflow can to clear all setTimeout events,
but how to understand var max = setTimeout(";");
?
What mean is it?
Here is original question => How to stop all timeouts and intervals using javascript?
Thank you!