Promises, Promises -

In programming, a is an object representing the eventual completion (or failure) of an asynchronous operation and its resulting value. Three States of a Promise :

.finally() : Executes code regardless of whether the promise was fulfilled or rejected. Promises, Promises

.catch() : Used for error handling if the promise is rejected. In programming, a is an object representing the