Files
freeCodeCamp/guide/english/miscellaneous/the-es6-promises/index.md
2018-10-16 21:32:40 +05:30

443 B

title
title
The 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