Created
March 5, 2021 14:08
-
-
Save NyaGarcia/7ba6b7419a57ab1c5f99181fd926ef53 to your computer and use it in GitHub Desktop.
Traditional function receiving multiple parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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