- Read the "Test Description" below.
- Make changes to the stringMethods.js and calculatorMethods.js files.
- Commit your changes.
We have some strings and calculator validations:
- Strings biggers than 1 character and smallest than 11 characters
- We can make reverse Strings
- Capitalize Strings
- Additions validations
- Substractions validations
- Multiplications validations
- Divisions validations
The following are 3 test cases:
console.log(stringMethods.stringLength('string too longer'))
// => true
console.log(stringMethods.capitalize('capitalize'))
// => false
console.log(calculatorMethods.calculator.sum(1, 2))
// => true