How do I clear this setInterval inside a function?

前端 未结 4 1426
眼角桃花
眼角桃花 2020-11-29 21:26

Normally, I’d set the interval to a variable and then clear it like var the_int = setInterval(); clearInterval(the_int); but for my code to work I put it in an

4条回答
提交回复
热议问题