Promises, Promises [WORKING]

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

.catch() : Used for error handling if the promise is rejected. Promises, Promises

: The initial state; the operation has not finished yet. 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 : Promises, Promises