JavaScript Promises: a practical guide
Promises are used to manage asynchronous operations, which were eventually added to JavaScript in the ECMAScript 2015 specification. Promises simplify the previous approach to async actions control, based on the callback function. I hope this text will clarify the subject to you, as I’m going to give you a detailed description of what Promises are and how to make good use of them.