Created
August 9, 2017 10:01
-
-
Save jamessergeant/dd103063d6931e73b0c9cb2c63e1fa0a to your computer and use it in GitHub Desktop.
Snippets of code for JS drills for Funcdamentals of Web Development - Project 2.2.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
// Would recommend finding a way to hide the test function... | |
function wisePerson(wiseType, whatToSay) { | |
return 'A wise ' + wiseType + ' once said: "' + | |
whatToSay + '".'; | |
} | |
function shouter(whatToShout) { | |
return whatToShout.toUpperCase() + '!!!'; | |
} | |
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