How to make js in my website more efficient?

前端 未结 0 1392
滥情空心
滥情空心 2020-11-27 15:03

So what I am trying to do, is I am changing the background of a div, using js. The code is:

let counter = 0;
setInterval(() => {
  counter ++;
  if(counte         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题