The Library Bookmarks · Notes · Snippets

← Back to the front page Filed

How do you run a function over and over again at a particular time?

javascript

setInterval(() => {
    console.log('you can see me every 3 seconds')
}, 3000);

■