443 B
443 B
title |
---|
The Es6 Promises |
A new feature of ES6 to help with async programming.
syntax
new Promise(executor);
new Promise(function(resolve, reject) { ... });
read more at MDN