Sollicitatievraag bij Constructor

(JavaScript) What is a Promise?

Antwoord op sollicitatievraag

Anoniem

25 aug 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.