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

What does await do?

Short interview answer

Await evaluates an expression, converts it through Promise resolution semantics, suspends the async function, and schedules its continuation after settlement. It does not block the JavaScript thread or the whole program.

Key takeaway

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

← Back to Async and await

Related questions