Answers for "execute a function a after every seconds js"

7

javascript call function every second

setInterval(function(){ 
    //this code runs every second 
}, 1000);
Posted by: Guest on August-01-2019
0

javascript run something after x seconds

setTimeout(function(){
  location.reload();
}, 3000); //run this after 3 seconds
Posted by: Guest on August-07-2020

Code answers related to "execute a function a after every seconds js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language