Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let timerId = setTimeout(function tick() {
- console.log("tick");
- timerId = setTimeout(tick, 2000);
- }, 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement