Skip to content

Instantly share code, notes, and snippets.

@simevidas
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simevidas/492585e80f84db15c062 to your computer and use it in GitHub Desktop.
Save simevidas/492585e80f84db15c062 to your computer and use it in GitHub Desktop.
// global constructor
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