1 User interactions like mouse clicks and network responses are handled by queuing tasks in the event loop to ensure they reach JavaScript without blocking.
“If you click the mouse, like how does that get from the operating system into your JavaScript? It queues a task. When you fetch something how did you get the response into your JavaScript? Well, it queues a task.”