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.
Table of contents
What is a Promise🤞?How it works⚒️?Static types and prototype method:Promise🤞 ChainingImportant points3 Impressions