JavaScript ES6 Promises

Overview Promises have been around in JavaScript in one form or another for a while now, but they are typically provided by a framework. For example, if you ever used the jQuery ajax function to make an API call, behind the scenes you were using jQuery’s promise mechanism. In this example, the “ajax” function returns[…]

Skip to toolbar