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

Can an unresolved promise leak forever?

Short interview answer

A promise and attached handlers are collectible when nothing reachable refers to them. It becomes a leak when a long-lived owner, pending host operation, or captured resource retains the chain.

Key takeaway

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

← Back to Memory management

Related questions