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 shouter(whatToShout) { | |
const final = whatToShout.toUpperCase(); | |
return `${final}!!!`; | |
} | |
/* From here down, you are not expected to | |
understand.... for now :) | |
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 celsToFahr(celsTemp) { | |
let result = celsTemp * (9/5) + 32; | |
return result; | |
} | |
function fahrToCels(fahrTemp) { | |
let final = (fahrTemp- 32) * (5/9); | |
return final; | |
} |
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 shortWords(array) { | |
const short = array.filter( x => x.length<5); | |
return short; | |
} | |
/* From here down, you are not expected to | |
understand.... for now :) | |
Nothing to see here! |