Created
October 1, 2019 18:06
-
-
Save gusmcnair/ae06f72f3ed75e02acb029b16d5e7b23 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
wisePerson: | |
function wisePerson(wiseType, whatToSay) { | |
let wiseQuote = "A wise ${wiseType} once said: \"${whatToSay}.\""; | |
return wiseQuote; | |
} | |
shouter: | |
function shouter(whatToShout) { | |
const shout = whatToShout.toUpperCase() + "!!!"; | |
return shout; | |
} | |
textNormalizer: | |
function textNormalizer(text) { | |
const normalText = text.toLowerCase().trim(); | |
return normalText; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment