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.