This file contains hidden or 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
//Part 1 | |
function capitalize(salesTeam) { | |
// loop through the salesteam object | |
// delare var getName to get the same object | |
// split the name object into a array | |
// use ChatAt to get the first letter of the object | |
// return the result |
This file contains hidden or 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
// Part 1 | |
// Write a function that takes 3 words and returns a single count of all their letters. | |
function combinedCharacterCount(word1, word2, word3) { | |
// get length of 3 words | |
// return var sumOfThreeWords | |
return word1.length + word2.length + word3.length; | |
} |