A Promise is a pattern for asynchronous processing in JavaScript and is an object that represents the result of an asynchronous operation. A Promise has three states: pending - The initial state, ...