What does promise mean?
In web development, promise means A JavaScript object that stands for a result that is not ready yet, such as data from a server, and that later succeeds or fails.
Web Development vocabulary · JavaScript, Frameworks and Tooling
In Turkish: promise, söz
Also used in: Software Engineering
Type at least 2 characters to search all fields.
How it is used
A promise is first pending, then fulfilled (resolved) or rejected. Developers handle it with .then() and .catch() or with async/await, and say that a function 'returns a promise'.
Example sentences
fetch() returns a promise, so you need await before you can read the data.
One of the promises was rejected, so Promise.all failed.
Common collocations
- return a promise
- resolve a promise
- rejected promise
- unhandled promise rejection
Related terms
More terms: JavaScript, Frameworks and Tooling
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
