-
analyze(array)
takes an array of numbers and returns an object with properties for average, min, max, and length of the given array. -
capitalize(string)
takes a string and returns that string with the first letter capitalized. -
Calculator()
Calculator.add(a, b)
takes two numbers and returns the sum.Calculator.subtract(a, b)
takes two numbers and returns the difference.Calculator.multiply(a, b)
takes two numbers and returns the product.Calculator.divide(a, b)
takes two numbers and returns the quotient.
-
cipher(string)
Takes a string and either encrypts or decrytps it based on the user's needs. -
reverseString(string)
takes a string and returns it reversed.
👤 Osong Agberndifor
Give a ⭐️ if you like this project!