Skip to content

Instantly share code, notes, and snippets.

@gotenxds
Created January 19, 2018 15:36
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 gotenxds/9f26b56e69574c92c9760dd6cd4590e9 to your computer and use it in GitHub Desktop.
Save gotenxds/9f26b56e69574c92c9760dd6cd4590e9 to your computer and use it in GitHub Desktop.
funcation someOperation(){
return Promise.all(getDogs(), getCats())
.then([dogs, cats] => makeItRain(cats, dogs))
.then(openAnimalProffUmbrella);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment