摘要:
arguments.callee函数递归时,用来调用函数 window.onload = function () { function funRead() { console.log(arguments.callee); } funRead();} 阅读全文
摘要:
结构 样式 行为 阅读全文
摘要:
重复调用的定时器var timer = null;if (timer) clearInterval(timer);fun();timer = setInterval(fun,1000);function fun(){ }if (timer) clearInterval(timer); 只调用一次的定时器 setTimeout(function () {},5000); 倒计时... 阅读全文