Created
January 7, 2018 23:56
-
-
Save mcshakes/a6831d1ea6107a28c6116d2d9f7e3e29 to your computer and use it in GitHub Desktop.
Unit 2 / Lesson 2 / Project 3
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 wisePerson(wiseType, whatToSay) { | |
return `A wise ${wiseType} once said: ${whatToSay}`; | |
// return 'A wise ' + wiseType + ' once said: "' + whatToSay + '".'; | |
} | |
SHOUTER | |
function shouter(whatToShout) { | |
return whatToShout.toUpperCase(); | |
} | |
TEXT NORMALIZER | |
function textNormalizer(text) { | |
return text.toLowerCase().trim(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment