Macrotask Queue

These are the “regular” tasks scheduled to run **after the current call stack is empty**. ### ✅ Examples: * `setTimeout` * `setInterval` * DOM events (like `onclick`) * `setImmediate` (Node.js only) * `requestAnimationFrame` ### 🧭 Execution Order: 1. Finish executing all current code on the call stack. 2. Event loop picks one task from the **macrotask queue**. 3. Push it to the call stack and execute it. 4. Repeat.