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

    Sep 18, 2025 · 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 …

  3. JavaScript Promise - GeeksforGeeks

    Jul 11, 2025 · 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 …

  4. 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”.

  5. How Promises Work in JavaScript – A Comprehensive Beginner's …

    Jun 13, 2023 · To work with promises, you must adopt a special syntax that makes writing async instructions a lot more organized. Working with promises is a very useful skill every JavaScript …

  6. JavaScript Promises Explained - DEV Community

    Jul 3, 2025 · JavaScript Promises work just like that. You're not blocking your whole evening waiting — you can keep watching your show while the delivery happens in the background. 🤔 …

  7. JavaScript Promise: What It Is and How to Use It - Riad Kilani

    Aug 15, 2025 · A JavaScript Promise is an IOU for a value you’ll get later—perfect for API calls, timers, and other async work. In this quick guide, you’ll learn what a javascript promise is, how …

  8. What are JavaScript Promises – JS Promise Explained

    Feb 5, 2025 · JavaScript Promises lets you handle tasks that take time, like getting data, simply and clearly. They make the code easier to read and keep things from getting messy. Instead of …

  9. What is a Promise? An In-Depth Guide to JavaScript Promises

    Sep 9, 2024 · Promises represent the future value of an asynchronous operation. They play an integral role in modern JavaScript, powering everything from API calls to event handling. In …

  10. JavaScript- What is a Promise? - JavaScript in Plain English

    Dec 30, 2024 · In JavaScript, a Promise is an object representing the eventual completion (or failure) of an asynchronous operation and its resulting value.