Loading...

Tag: what is promise in js

What is Promise in JavaScript

A Promise is an object that represents the eventual completion (or failure) of an asynchronous operation, and its resulting value. Promise can either be fulfilled with a value, or rejected with a reason (error). A [ … ]