The plain-English version
A JavaScript object representing an eventual completion value or failure reason. It can be pending, fulfilled, or rejected; a rejection reason does not have to be an Error object.
Why it matters
A pending operation is different from its eventual result.
Let’s make it click
A request to load tasks returns a promise while the server is still responding.
Vibe Bro’s heads-up
Using the promise as though it were the returned list can produce confusing errors or blank output.
The docs behind it
- MDN — promise composition, chaining, and concurrency
- MDN — Promise states, values, and rejection reasons
- MDN — Promise.reject and rejection reasons
Documentation links checked .
Editorial review · October 28, 2026
Corrected: A promise can already be settled, and JavaScript allows rejection with any value.