Skip to content
JavaScript·Beginner·Conceptual·1 min read

Can a microtask interrupt synchronous JavaScript?

Short interview answer

No. The current job or task runs to completion first. Microtasks drain at defined checkpoints after the stack unwinds, not in the middle of an ordinary statement sequence.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Event loop

Related questions