Skip to content

Instantly share code, notes, and snippets.

@ajcrites
Created June 4, 2015 16:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajcrites/b00c6eb55931dfda266c to your computer and use it in GitHub Desktop.
Save ajcrites/b00c6eb55931dfda266c to your computer and use it in GitHub Desktop.
Promise.resolve()
.then(() => Promise.resolve(">"))
.then(() => Promise.resolve(">>"))
.then(() => Promise.resolve(">>>"))
.then(() => Promise.resolve(">>>>"))
.then(() => Promise.resolve(">>>>>"))
.then(() => Promise.resolve(">>>>>>"))
.then(() => Promise.resolve(">>>>>>>"))
.then(() => Promise.resolve(">>>>>>>"))
.then(() => Promise.reject("get me out!"))
.catch(exit => console.log(exit));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment