What Are Promises?



A Promise is a standard JavaScript construct that represents the eventual completion or failure of an asynchronous operation. Promises are an alternative to callbacks and, also allow asynchronous I/O to be coded in a top-down manner using the async/await keywords.

More information on Promises can be found here.