JavaScript card reviewmedium

What is a Promise in JavaScript?

A Promise is an object that represents the eventual completion or failure of an asynchronous operation. It can be in pending, fulfilled, or rejected states.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.