3 ms·
> It has a run loop in an event-driven browser The "run loop" hooks into the existing browser's event loop in order to coalesce side-effects. This is exactly t
by wycats 14y ago
> It has a run loop in an event-driven browser
The "run loop" hooks into the existing browser's event loop in order to coalesce side-effects. This is exactly the same thing that the browser does when you make a number of changes to the DOM in an event handler.
There is nothing strange going on here.