JavaScript·Intermediate·Coding·1 min read
Are async functions kept on the call stack while awaiting?
Short interview answer
No. Await evaluates its operand and suspends the async function. Its continuation is scheduled when the adopted promise settles, allowing the current stack to unwind. Local state is preserved by the async function machinery, not by blocking a stack frame.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.