Skip to content

Instantly share code, notes, and snippets.

View shravanipl's full-sized avatar
💭
coding.....

shravani shravanipl

💭
coding.....
  • Houston
View GitHub Profile
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!
function celsToFahr(celsTemp) {
let result = celsTemp * (9/5) + 32;
return result;
}
function fahrToCels(fahrTemp) {
let final = (fahrTemp- 32) * (5/9);
return final;
}
@shravanipl
shravanipl / shouter.js
Created July 7, 2018 19:42
String assignments
function shouter(whatToShout) {
const final = whatToShout.toUpperCase();
return `${final}!!!`;
}
/* From here down, you are not expected to
understand.... for now :)