Skip to content

Instantly share code, notes, and snippets.

@simevidas
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save simevidas/74c9c9e87a7ecc1ed8e5 to your computer and use it in GitHub Desktop.

Select an option

Save simevidas/74c9c9e87a7ecc1ed8e5 to your computer and use it in GitHub Desktop.
A terse overview of new ECMAScript 6 API
// http://people.mozilla.org/~jorendorff/es6-draft.html
Promise
.all( iterable )
.race( iterable )
.reject( r )
.resolve( x )
.prototype
.catch( onRejected )
.then( onFulfilled, onRejected )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment