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.

ˈprɑːmɪsnounCommon term

Web Development vocabulary · JavaScript, Frameworks and Tooling

In Turkish: promise, söz

Also used in: Software Engineering

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

  1. fetch() returns a promise, so you need await before you can read the data.

  2. One of the promises was rejected, so Promise.all failed.

Common collocations

  • return a promise
  • resolve a promise
  • rejected promise
  • unhandled promise rejection

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: