interval=setInetreval(a,b); //.... interval&&clearInterval(interval) // == if(interval)clearInterval(interval)