The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. The promises returns one of the 3 possible states: Fullfilled: You woke up at sharp 5AM. Rejected: You didn't wake up at 5AM.

3m read timeFrom blog.sagarmedtiya.me
Post cover image
Table of contents
What is a Promise🤞?How it works⚒️?Static types and prototype method:Promise🤞 ChainingImportant points
3 Impressions