Promise State
Multiple Choice Medium
Question
Which is NOT a valid Promise state?
Hint
Promises are pending, fulfilled, or rejected.
Explanation
Promises have three states: pending (initial), fulfilled (successfully resolved with a value), and rejected (failed with a reason). There is no "cancelled" state. Once a promise is fulfilled or rejected, it is settled and cannot change state. Some libraries add cancellation but it is not native to Promises.
Related Resources
Related Lessons
- Async JavaScript
Learn async JS.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.