Does the browser keep track of active timer IDs?

后端 未结 5 1265
没有蜡笔的小新
没有蜡笔的小新 2021-02-05 09:34

Does the browser keep track of active setInterval and setTimeout IDs? Or is this solely up to the developer to keep track of?

If it does keep t

5条回答
  •  不知归路
    2021-02-05 10:01

    This may interest you, if you are curious about how the timer is 'remembered' by its window.

     
     
     
     
    Timer  
     
    
    

    Timers

提交回复
热议问题