How to clear all setInterval() and setTimeOut() without knowing their ID?

前端 未结 3 723
北恋
北恋 2021-01-16 15:10

If I don\'t know the return value of setInterval() or setTimeOut(), can I still use clearInterveral(id) or clearTimeOut(id)

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