Skip to content

Commit 32d4f13

Browse files
authored
Merge pull request #2205 from vsemozhetbyt/patch-8
Fix a typo in 1.6.1 task solution
2 parents 5d7cba3 + 187e8e1 commit 32d4f13

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

Lines changed: 1 addition & 1 deletion
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)