Skip to content

Instantly share code, notes, and snippets.

@milanraai
milanraai / RA 1 - milan_rai
Last active May 2, 2017 03:58
RA 1 - milan_rai
//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
@milanraai
milanraai / mod_3_assessment_milan_rai
Created April 22, 2017 06:06
Module 3 Assessment - Milan Rai
// 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;
}