JavaScript recurring timers with setInterval
Now that we have a good understanding of how JavaScript setTimeout works to delay a function.
Let's look at how we can perform an action every x time.
This can be super helpful for animating stuff or checking a data feed.
JavaScript setInterval funct...
h.daily-dev-tips.com2 min read