Skip to content

Commit 03a7c02

Browse files
authored
Factorial: Link to simpler resource (#644)
1 parent 24b1127 commit 03a7c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

foundations/12_calculator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ The goal for this exercise is to create a calculator that does the following:
77
3. `sum()`: take an array of numbers and add all the numbers together
88
4. `multiply()`: take an array of numbers and multiply all the numbers together
99
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)
1111

1212
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

Comments
 (0)