Promises in Javascript A promise is an object which can be returned synchronously from an asynchronous function. It will be in one of 3 possible states: Fulfilled: onFulfilled() will be called (e.g., resolve() was called) Rejected: onRejected() will...

Markdown supported · ⌘↵ to post
Vijay Tembugade
Software Engineer
Great work, rushikesh.