setTimeout和setInterval的参数传递方法var myTimeout=setTimeout(function(){f(x,y);}, n); var myInterval=window.setInterval(function(){startCounter(a);},100);
var
myTimeout=setTimeout(
function
(){f(x,y);}, n);
myInterval=window.setInterval(
(){startCounter(a);},100);