About 152,000 results
Open links in new tab
  1. Promise - JavaScript | MDN - MDN Web Docs

    Jan 21, 2026 · The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.

  2. JavaScript Promises - W3Schools

    Here is how to use a Promise: 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. To demonstrate …

  3. Promise - The Modern JavaScript Tutorial

    Dec 11, 2024 · A promise is a special JavaScript object that links the “producing code” and the “consuming code” together. In terms of our analogy: this is the “subscription list”.

  4. JavaScript Promise - GeeksforGeeks

    Jan 17, 2026 · JavaScript Promises make handling asynchronous operations like API calls, file loading, or time delays easier. Think of a Promise as a placeholder for a value that will be available in the future.

  5. JavaScript Promises for Beginners - freeCodeCamp.org

    May 25, 2022 · In JavaScript, a promise is a placeholder (proxy) for the value of an ongoing operation. You typically use a promise to manage situations where you must wait for the outcome of an operation.

  6. Learn JavaScript Promises - W3Schools

    What Is a JavaScript Promise? JavaScript Promises provide a modern way to handle asynchronous operations such as fetching data from an API, reading files, or working with timers. A Promise is an …

  7. An Overview of JavaScript Promises - SitePoint

    Nov 1, 2022 · Learn how JavaScript promises work, how to create and chain them, how promise error handling works, and how to use recent promise methods.

  8. Promises in JavaScript: The Ultimate Guide for Beginners

    Jul 27, 2024 · What is a Promise in JavaScript? A promise in JavaScript is an object representing the eventual completion or failure of an asynchronous operation. It allows you to associate handlers with …

  9. JavaScript Promise and Promise Chaining - Programiz

    In this tutorial, you will learn about JavaScript promises and promise chaining with the help of examples.

  10. JavaScript Promises: an introduction | Articles | web.dev

    Dec 16, 2013 · Promises simplify deferred and asynchronous computations. A promise represents an operation that hasn't completed yet.