Skip to content

Instantly share code, notes, and snippets.

@NyaGarcia
Created March 5, 2021 14:08
Show Gist options
  • Save NyaGarcia/7ba6b7419a57ab1c5f99181fd926ef53 to your computer and use it in GitHub Desktop.
Save NyaGarcia/7ba6b7419a57ab1c5f99181fd926ef53 to your computer and use it in GitHub Desktop.
Traditional function receiving multiple parameters
function choosePokemon(firstPokemon, secondPokemon) {
return `I choose ${firstPokemon} and ${secondPokemon}!`;
}
console.log(choosePokemon("Charmander", "Squirtle"));
// Output: I choose Charmander and Squirtle!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment