An object representing the eventual completion or failure of an asynchronous operation and its resulting value. Promises provide a cleaner alternative to callback functions for handling asynchronous code.
From Latin 'promissum' meaning 'a pledge' or 'assurance'. In programming, the term was adopted in the 1970s but gained prominence in JavaScript in the 2010s, representing a 'promise' that a value will eventually be available.
Try Another Word