call a function for every ten seconds

 function myFunction() {

// Do something every ten seconds } const intervalId = setInterval(myFunction, 10000); // 10000 milliseconds = 10 seconds // To stop the timer, use clearInterval() clearInterval(intervalId);

No comments:

Post a Comment

sun dried potato procedure

  Sun-Dried Potato Chips Recipe  https://www.youtube.com/watch?v=e_PVvAU77Qs , recipe for potato sun dried chips 1) ist peel off the potato ...