odin-javascript-exercises/calculator
seoul2045 645cbc746f
Update calculator.js
The reduce() method syntax for callbacks assigns the accumulator value followed by the currentValue, so I think the above variables should be switched.
2019-05-16 09:49:12 +07:00
..
calculator.js Update calculator.js 2019-05-16 09:49:12 +07:00
calculator.spec.js Fixed folder titles 2017-09-22 17:32:56 -04:00
README.md Fixed folder titles 2017-09-22 17:32:56 -04:00

The goal for this exercise is to create a calculator that does the following:

add, subtract, get the sum, multiply, get the power, and find the factorial

In order to do this please fill out each function with your solution. Make sure to return the value so you can test it in Jasmine! To see the expected value take a look at the spec file that houses the Jasmine test cases.