var times1 = setTimeout(function(){
console.log('http://www.fedrobots.com');
},1000);
clearTimeout(times1); //停止times1的定时器
var times2 = setInterval(function(){
console.log('http://www.fedrobots.com');
},1000);
clearInterval(times2); //停止times1的定时器