Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. wisePerson:
  2.  
  3. function wisePerson(wiseType, whatToSay) {
  4. let wiseQuote = "A wise ${wiseType} once said: \"${whatToSay}.\"";
  5. return wiseQuote;
  6. }
  7.  
  8.  
  9.  
  10. shouter:
  11.  
  12. function shouter(whatToShout) {
  13. const shout = whatToShout.toUpperCase() + "!!!";
  14. return shout;
  15. }
  16.  
  17.  
  18.  
  19. textNormalizer:
  20.  
  21. function textNormalizer(text) {
  22. const normalText = text.toLowerCase().trim();
  23. return normalText;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement