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

What happens when a catch block returns a value?

Short interview answer

The async function continues successfully and its returned promise can fulfill with that value. This is recovery, so it should happen only when the fallback satisfies the contract.

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