This project is part of The Odin Project curriculum. It focuses on writing JavaScript functions and testing them using Jest. The following functions were implemented and tested:
capitalize
: Capitalizes the first letter of a string.reverseString
: Reverses a given string.calculator
: A basic calculator object with methods for addition, subtraction, multiplication, and division.caesarCipher
: Shifts each letter in a string by a given number of positions in the alphabet.analyzeArray
: Returns an object with the average, min, max, and length of an array of numbers.
- Capitalizes the first letter of the given string.
- Reverses the input string.
- An object with methods:
add(a, b)
subtract(a, b)
multiply(a, b)
divide(a, b)
- Shifts each letter in the string by the specified shift value.
- Takes an array of numbers and returns an object with:
average
min
max
length
-
Install dependencies:
npm install
-
Run tests with Jest:
npm test
This project is part of The Odin Project.
This version of the README provides just the basic information to understand the project and how to run the tests.