We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 052637d commit eaabc5bCopy full SHA for eaabc5b
13_factorial/README.md
@@ -5,8 +5,8 @@ Write a recursive function that takes a non-negative integer, and returns the pr
5
For example:
6
7
```javascript
8
-factorial('4'); // Output: undefined
9
factorial(5); // 5 * 4 * 3 * 2 * 1, Output: 120
10
-factorial(7.2); // Output: undefined
11
factorial(0); // Output: 1
+factorial(7.2); // Output: undefined
+factorial('4'); // Output: undefined
12
```
0 commit comments