JavaScript part 1...
How do the web API, call stack, and task queues fit into the event loop?....
The "Stack → Web API → Queue" flow is true for Macrotasks (like timers and network requests). However, Microtasks (like Promises) usually skip the Web API "waiting room" and go straight from the Stack to the Microtask Queue....