Created
July 17, 2020 02:14
-
-
Save brianjag/83a3661057f66eca656f403959a01318 to your computer and use it in GitHub Desktop.
This file contains 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 hello(name) { | |
if (typeof name === 'undefined') { | |
name = 'World'; | |
} | |
return `Hello ${name}`; | |
} | |
console.log(hello()); | |
console.log(hello("Brian")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment