Skip to content

Instantly share code, notes, and snippets.

@Elergy
Created April 7, 2019 08:31
Show Gist options
  • Save Elergy/29cf2d4257008f4640c32501d6c3e509 to your computer and use it in GitHub Desktop.
Save Elergy/29cf2d4257008f4640c32501d6c3e509 to your computer and use it in GitHub Desktop.
function getInformationAboutPets() {
const cats = CAT_SERVICE.getAllCats();
const dogs = DOG_SERVICE.getAllDogs();
const dragons = DRAGON_SERVICE.getAllDragons();
return [cats, dogs, dragons];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment