Yahoo Web Search

Search results

  1. Learn the meaning of promise as a verb and a noun, with synonyms, antonyms, and idioms. See how to use promise in sentences from the Cambridge English Corpus.

  2. Here is how to use a Promise: myPromise.then(. function(value) { /* code if successful */ }, function(error) { /* code if some error */ } ); Promise.then () takes two arguments, a callback for success and another for failure. Both are optional, so you can add a callback for success or failure only.

  3. Jul 7, 2012 · Learn the meaning, synonyms, examples, and history of the word promise as a noun and a verb. Find out the legal and kids definitions of promise and related phrases.

  4. Jun 9, 2024 · To learn about the way promises work and how you can use them, we advise you to read Using promises first. Description A Promise is a proxy for a value not necessarily known when the promise is created.

  5. Learn how to use promises to handle asynchronous operations in JavaScript. See examples of creating, chaining, and using methods such as then(), catch(), and finally() with promises.

  6. 6 days ago · A Promise is an object representing the eventual completion or failure of an asynchronous operation. Since most people are consumers of already-created promises, this guide will explain consumption of returned promises before explaining how to create them.

  7. Learn the meaning, pronunciation and grammar of the verb promise, which means to tell somebody that you will do or not do something, or that something will happen. See examples, idioms and synonyms of promise.

  1. People also search for