Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@maniart
Created June 17, 2016 20:07
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 maniart/8a1aeb83e3024a69cb936d4c0a27ffb7 to your computer and use it in GitHub Desktop.
Save maniart/8a1aeb83e3024a69cb936d4c0a27ffb7 to your computer and use it in GitHub Desktop.
infinite recursion
function haveGreatIdea() {
return
startProject()
.then(loseMotivation)
.then(abandonProject)
.then(haveGreatIdea)
.catch('Oh no. something seems to be actually working right.');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment