1.循环定时器: 1.1创建: var timer = window.setInterval(function(){ consolo.log("hello,world"); ...

IP属地:浙江
1.循环定时器: 1.1创建: var timer = window.setInterval(function(){ consolo.log("hello,world"); ...
首先,创建一个闭包函数,把window对象通过参数的形式传递到闭包函数里面 (function(g){ function MyUtil(){ }//这是一个构...