Skip to content

Instantly share code, notes, and snippets.

@devdays
Created December 10, 2014 21:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save devdays/73a1f02b75ced147272b to your computer and use it in GitHub Desktop.
Object JavaScript ECMAScript 6 Consuming a promise
promise.then(
function (value) { /* fulfillment */ },
function (reason) { /* rejection */ }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment