Last active
August 23, 2019 21:45
-
-
Save samfcmc/e1e9436889be93405baaa06ce98aac65 to your computer and use it in GitHub Desktop.
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
const message = getMessage('Sam'); | |
function getMessage (name) { | |
const completeMessage = intro + ' ' + name; | |
const intro = 'Hello my name is'; | |
return completeMessage; | |
} | |
console.log('Message: ', message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment