Web Development vocabulary · JavaScript, Frameworks and Tooling

Promise

Meaning in web development, with examples

/ˈprɑːmɪs/nounCommon term

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.

In Turkish: promise, söz

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

This word in other fields

The same English word can have a different meaning in another field:

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: