diff --git a/index.js b/index.js index e69de29bb2d..1705f956a8f 100644 --- a/index.js +++ b/index.js @@ -0,0 +1,23 @@ +function shout(string) { + return string.toUpperCase() +} +function whisper(string) { + return string.toLowerCase() +} +function logshout(string) { + console.log(string.toUpperCase()) +} +function logwhisper(string) { + console.log(string.toLowerCase()) +} +var uppercase="HELLO!" +uppercase.toUpperCase() === +uppercase +var lowercase = 'hello!' +lowercase.toLowerCase() === +lowercase +var mixedCase = 'Hi there!' +mixedCase.toLowerCase() === +mixedCase +mixedCase.toUpperCase() === +mixedCase \ No newline at end of file