You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: foundations/12_calculator/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ The goal for this exercise is to create a calculator that does the following:
7
7
3.`sum()`: take an array of numbers and add all the numbers together
8
8
4.`multiply()`: take an array of numbers and multiply all the numbers together
9
9
5.`power()`: take two numbers (base and exponent) and return the result of raising the base to that exponent
10
-
6.`factorial()`: given a single number, find its [factorial](https://en.wikipedia.org/wiki/Factorial)
10
+
6.`factorial()`: given a single number, find its [factorial](https://www.mathsisfun.com/numbers/factorial.html)
11
11
12
12
Please fill out each function with your solution. Make sure to `return` the value so you can test it in Jest! To see the expected value, take a look at the `.spec.js` file that houses the Jest test cases.
0 commit comments