Created
August 23, 2019 21:33
-
-
Save samfcmc/26afa5b27b66e2350b8c4645c2223fef 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
var message = getMessage('Sam'); | |
function getMessage (name) { | |
var completeMessage = intro + ' ' + name; | |
var 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