Answers for "js loop every 5 seconds"

0

js loop every x seconds

(function loop() {
  setTimeout(function () {
    // execute script
    loop()
  }, 9000); //9000 = 9000ms = 9s
}());
Posted by: Guest on November-09-2020

Code answers related to "js loop every 5 seconds"

Code answers related to "Javascript"

Browse Popular Code Answers by Language