Skip to content

Commit 187e8e1

Browse files
authored
Fix a typo in 1.6.1 task solution
1 parent 15767fc commit 187e8e1

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/01-recursion/02-factorial

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/01-recursion/02-factorial/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
By definition, a factorial is `n!` can be written as `n * (n-1)!`.
1+
By definition, a factorial `n!` can be written as `n * (n-1)!`.
22

33
In other words, the result of `factorial(n)` can be calculated as `n` multiplied by the result of `factorial(n-1)`. And the call for `n-1` can recursively descend lower, and lower, till `1`.
44

0 commit comments

Comments
 (0)