juniorJavaScript
What are JavaScript promises?
Updated May 6, 2026
Short answer
Promises handle asynchronous operations.
Deep explanation
A promise has states: pending, fulfilled, rejected.
Real-world example
API calls and async workflows.
Common mistakes
- Not handling promise rejections.
Follow-up questions
- What is async/await?
- What is promise chaining?