3 ms·
I wonder if it was intentionally implemented this way, would memory have been an issue with the amount of callback chaining required?
by akita-ken 10y ago
I wonder if it was intentionally implemented this way, would memory have been an issue with the amount of callback chaining required?
- BinaryIdiot 10y ago> 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.
- deleted 10y ago[deleted]
- perilunar 10y agoYou could still add a delay function with a setTimeout, but you'd only need one.