Created
October 1, 2019 18:06
-
-
Save gusmcnair/832781af0c2ed88bccb8d8951f45351e 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