Run Java Script Function by Timer

const myTimeout = setTimeout(myGreeting, 5000);

function myStopFunction() {
  clearTimeout(myTimeout);
}

Related Posts

Leave a Reply

Your email address will not be published.