Skip to main content

What are promises?

Entry JavaScript
Quick Answer A Promise represents the eventual result of an async operation รขโ‚ฌโ€ either resolved (success with a value) or rejected (failure with a reason). It avoids callback hell by enabling .then()/.catch() chaining. A Promise starts pending and settles exactly once. Promises are the foundation of async/await.

Answer

Promises represent asynchronous results with states: pending, fulfilled, rejected.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice