Skip to content

Instantly share code, notes, and snippets.

@gusmcnair
Created October 1, 2019 18:06
Show Gist options
  • Save gusmcnair/832781af0c2ed88bccb8d8951f45351e to your computer and use it in GitHub Desktop.
Save gusmcnair/832781af0c2ed88bccb8d8951f45351e to your computer and use it in GitHub Desktop.
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