Comment
Comment by Jakob
Re stopping timers: The timer id is afaik just a steadily increasing number starting at 1 which is returned by setTimeout() so you can iterate through them, e.g. to stop all:
Though that’s an implementation detail which could change in the future since the spec seems to not enforce it.