JavaScript recursive setTimeout() not working correctly after few hours

前端 未结 0 593
旧巷少年郎
旧巷少年郎 2021-02-14 15:45

In my web application I use recursive setTimeout() to call a function every second (see below).

function test() {
    console.log(\'test\');
    setTimeout(test,          


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