Javascript Under Pressure
5 simple functions are stubbed out with instructions on what they receive as arguments and what they should return. Your task is to complete the body of the function to pass the spec tests created.
Do not modify spec tests.
Do the test in this order:
- doubleInteger
- isNumberEven
- getFileExtension
- longestString
- arraySum
To start the exercise run:
$ npm install
To test your code:
$ npm test
You have half an hour to finish the exercise.