clearIntervaltimer;
This code will stop the execution of a setInterval timer with the ID "timer".
When you use setInterval() method in JavaScript, it returns an ID that you can use to stop the timer using clearInterval() method.
So, the above code will clear the interval and stop the timer from running further.
原文地址: http://www.cveoy.top/t/topic/bpbO 著作权归作者所有。请勿转载和采集!