Seven Bridges Interview Question

Explain macro/micro tasks in event loop