setInterval(function(){ myFunction(); }, 3000); function myFunction(){ alert("Alert in every 3 second!"); } So here with the help of setInterval() we are calling ...
The Schedulers are used to schedule the execution of a callback function. There are different scheduler methods. setInterval() clearInterval() setTimeout() clearTimeout(), etc. 2.1 setInterval() The ...