Skip to content

Instantly share code, notes, and snippets.

@gotenxds
Last active January 19, 2018 21: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 gotenxds/473d199127f9f5a1bcf6c01f555253cd to your computer and use it in GitHub Desktop.
Save gotenxds/473d199127f9f5a1bcf6c01f555253cd to your computer and use it in GitHub Desktop.
function rainSomeCatsAndDogs(){
  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