Created
February 15, 2019 12:59
-
-
Save rtanubra/703a4e397490211dae43c146a2261e7e to your computer and use it in GitHub Desktop.
Module 4- working with strings, Checkpoint 5
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
function wisePerson(wiseType, whatToSay) { | |
// your code here | |
return `A wise ${wiseType} once said: "${whatToSay}".` | |
} | |
//had to console log the expected test- appeared to have been missing the "" encasing for the actual quote.... | |
function shouter(whatToShout) { | |
// your code here | |
console.log(whatToShout.toUpperCase()+"!!!") | |
return whatToShout.toUpperCase()+"!!!" | |
} | |
function textNormalizer(text) { | |
// your code here | |
console.log(text.trim().toLowerCase()) | |
return text.trim().toLowerCase() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment