Skip to content

Instantly share code, notes, and snippets.

@NyaGarcia
Created March 5, 2021 15:01
Show Gist options
  • Save NyaGarcia/699ba45dfb7634c5d8fd052a67d1730d to your computer and use it in GitHub Desktop.
Save NyaGarcia/699ba45dfb7634c5d8fd052a67d1730d to your computer and use it in GitHub Desktop.
Arrow function receiving multiple parameters
const choosePokemonArrow = (firstPokemon, secondPokemon) =>
`I choose ${firstPokemon} and ${secondPokemon}!`;
console.log(choosePokemonArrow("Squirtle", "Bulbasaur"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment