IntermediateJavaScriptAsync JavaScript

Explain the event loop. What does setTimeout(fn, 0) actually do?

Take a moment.

Say your answer out loud or write it down first — retrieval is what makes it stick. Reveal when you're ready.