Skip to content

Instantly share code, notes, and snippets.

@lubien
Created January 23, 2018 00:23
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 lubien/a1092f057cbd15d9a311f196ae634eb1 to your computer and use it in GitHub Desktop.
Save lubien/a1092f057cbd15d9a311f196ae634eb1 to your computer and use it in GitHub Desktop.
function someHellComputation(initialData) {
return fnA(initialData)
.then(fnB)
.then(fnC)
}
someHellComputation(10)
.then(console.log)
.catch(console.error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment