var time = setInterval(function() { console.log('time'); }, 1000); setTimeout(function() { clearInterval(time); }, 2000); 是可以停止的,你的代码呢?
是可以停止的,你的代码呢?