mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-07 01:44:52 +08:00
Add factorial.
This commit is contained in:
@ -9,7 +9,7 @@ than or equal to `n`. For example:
|
||||
```
|
||||
|
||||
| n | n! |
|
||||
| ----- | :-------------------------: |
|
||||
| ----- | --------------------------: |
|
||||
| 0 | 1 |
|
||||
| 1 | 1 |
|
||||
| 2 | 2 |
|
||||
|
Reference in New Issue
Block a user