Created
December 28, 2017 19:44
-
-
Save crystalattice/4292d7bb6f2450bf257d4d7d99ba8d40 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
//WisePerson generator | |
function wisePerson(wiseType, whatToSay) { | |
return ("A wise " + wiseType + " once said: \"" + | |
whatToSay + "\"."); | |
console.log(phrase); | |
} | |
//Shouter | |
function shouter(whatToShout) { | |
return whatToShout.toUpperCase() + "!!!"; | |
} | |
//Text Normalizer | |
function textNormalizer(text) { | |
var del_blanks = text.trim(); | |
var lower = del_blanks.toLowerCase(); | |
return lower; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment