Question d’entretien chez Constructor

(JavaScript) What is a Promise?

Réponse à la question d'entretien

Utilisateur anonyme

25 août 2025

A Promise is an object representing the eventual completion or failure of an asynchronous operation. It allows handling asynchronous code in a more readable and manageable way using .then() for success and .catch() for errors.