84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
慕课网 课堂大厅 学习中心 前端课程 手机开发 后台编程 关于我们
光阴似箭催人老,日月如移越少年。
var myTimer = setInterval(....);
If it needs to be eliminated, then
clearInterval(myTimer)
You posted such a large piece of code, but you didn’t make it clear what purpose you wanted to send it to or what kind of problems you encountered.
This way of writing is not very good~If you are self-study, it is recommended to find some newer and better-produced resources, or MDN, don’t be led astrayHow to optimize specifically, here are two tips:
Event Agent
Closure
If it needs to be eliminated, then
You posted such a large piece of code, but you didn’t make it clear what purpose you wanted to send it to or what kind of problems you encountered.
This way of writing is not very good~
If you are self-study, it is recommended to find some newer and better-produced resources, or MDN, don’t be led astray
How to optimize specifically, here are two tips:
Event Agent
Closure