Hacker News new | ask | show | jobs
by akita-ken 3711 days ago
I wonder if it was intentionally implemented this way, would memory have been an issue with the amount of callback chaining required?
1 comments

> would memory have been an issue with the amount of callback chaining required?

Unlikely; you gotta hit a really deep stack to really kill something with callback chaining.

It could have used a start button that sets focus to the first one and then each focus change makes it go to the next but without the setTimeouts it would go by so far it wouldn't be nearly as fun.

You could still add a delay function with a setTimeout, but you'd only need one.