JavaScript & TypeScript

Promise

/ˈprɒmɪs/

Definition

An object representing the eventual result (or failure) of an asynchronous operation, with .then() and .catch() handlers.

Example in context

"We chain promises — fetch() returns a Promise, .then() parses JSON, .catch() handles network errors."

Related terms

Practice this term

Master Promise in context by working through exercises in the JavaScript & TypeScript module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.

Frequently Asked Questions

What does "Promise" mean?

An object representing the eventual result (or failure) of an asynchronous operation, with .then() and .catch() handlers.

How do you pronounce "Promise"?

"Promise" is pronounced /ˈprɒmɪs/.

Can you use "Promise" in a sentence?

"We chain promises — fetch() returns a Promise, .then() parses JSON, .catch() handles network errors."