Skip to content

Commit ca4950d

Browse files
author
Ryan Hamblin
authored
Update recursion.js
1 parent 0e8f8c7 commit ca4950d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recursion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const factorial = n => {
2727

2828
console.log(factorial(5));
2929

30-
// write the above functionin a recursive way.
30+
// write the above function in a recursive way.
3131

32-
// when you code is ready, un-comment the next line and run the file
32+
// when your code is ready, un-comment the next line and run the file
3333
// console.log(recursiveFactorial());

0 commit comments

Comments
 (0)