TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How JavaScript Timers Work

25 pointsby muriithiover 17 years ago

2 comments

snorkelabout 17 years ago
Good point: setInterval() will fire the given function repeatedly no matter if the previous execution of that function is done yet which can lead to an unexpected pile up of calls to the same function.
edw519over 17 years ago
Nice diagram. Thank you.