Any articles or books tell us the internal principle of setTimeout and setInterval

I wanna get some deep information about how browser implements the dispatch mechanism of events , native setTimeout and setInterval. Any books or articles reference it?

This events section at quirksmode covers them in great depth.

For setTimeout and [url=“”]setInterval, there’s more depth to them at the [url=“”]What can be done with Closures? page.