Promise Promise represents the completion or failure of an asynchronous task and returns its value. A promise has three states:- - pending: while the promise is running - fulfilled: when the promise is resolved and returns a value ...