Light's website
Home Blog TILs
Follow Light on BlueSky Follow Light on Mastodon Follow Light on X/Twitter Go to Light's GitHub repo
Light's websiteMenu

Main

  • Home
  • Blog
  • TILs

Explore

  • Books & poems
  • Projects
  • Tags
  • Explorations
  • Homelab

Elsewhere

Follow Light on BlueSky Follow Light on Mastodon Follow Light on X/Twitter Go to Light's GitHub repo
clearTimeout and clearInterval are functionallly identical
Apr 29, 2026

I used clearTimeout instead of clearInterval to clear a timeout and it worked.

Found a stackoverflow question: https://stackoverflow.com/q/9913719/1443630

web javascript tech
💡
"Nobody exists on purpose. Nobody belongs anywhere. Everybody's gonna die. Come watch TV."

— Morty (Rick and Morty)

© 2026 Mahesh Bansod. All rights reserved.
ESC