The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value. ... To learn about the way promises work and how you can use them, we advise you to read Using promises first. The constructor is primarily used to wrap functions that do not already support promises.