前言:javascript怎么清除所有的定时器setInterval//创建一个定时器var timer = setInterval(function(){ //dosomething... if(这里写条件){//满足某个条件时...