A promise is an object that may provide a value sometime in the future. A promise may be in one of 3 possible states: fulfilled, rejected, or pending. A JavaScript Promise object can be:FulfilledPendingRejectedRejected. The Promise object supports two features: state and result. Async and Await functions will always return promises.

4m read timeFrom saharanitaa.hashnode.dev
Post cover image
10 Comments

Sort: