Skip to content

Promises

Arsen Melikyan edited this page · 2 revisions
Clone this wiki locally

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

Something went wrong with that request. Please try again.