Skip to content
Quincy Larson edited this page Aug 20, 2016 · 1 revision

ES6 Promises

A new feature of ES6 to help with async programming.

syntax

new Promise(executor);
new Promise(function(resolve, reject) { ... });

MDN image

read more at MDN

Clone this wiki locally