var myStr = "hello" console.log(typeof myStr === "string") //=> true
buildSentence
that takes three words (strings) and adds them together and console.logs the whole sentence (string) complete with capitalization
and punctuation.
lastLetter
that takes a word (string) and console.logs the last character/letter of that word.
buildGreeting
that takes a time (integer) and a name (string) and print a greeting based on the following rules:
indexOf
is a function that you can call on a string (string1) and accepts another string (string2) as an argument.
letterExists
that takes a word (string) and a character (string), and console.logs whether that letter can be found inside that word.
isPrime
that console.logs a boolean indicating if `number` is prime or not.
range
that console.logs all numbers between 'start' and 'end' in sequential order.
myIndexOf
that takes an array and an element and console.logs the index of the element in the array, or -1 if it doesn't exist.
unique
that console.logs an array where all the duplicates of the input array have been removed; in other words, every element remaining is unique.
longestWord
that that retuns the longest word of a sentence.
disemvowel
that takes in a string and returns a string with all vowels removed.
divisibleByFivePairSum
that takes an array of numbers.
highestScore
that takes in an array of student objects as a parameter.
leastCommonMultiple
that takes two numbers (integers) as input and returns the lowest number which is a multiple of both inputs.
arrayBuilder
that takes in a count object and returns an array filled with the appropriate numbers of elements. The order of the elements in the array does not matter, but repeated elements should be grouped.
objectBuilder
that takes in a number and returns an object whose keys are 0 up to number and the values are that same number multipled by 5.
secretCipher
that takes in an string(sentence) and an object(cipher). Return a string where every character is replaced with its cooresponding value in the cipher. If the character doesn't exist in the cipher, use the original character.
passingStudents
that accepts an array of student objects.