4 lines
71 B
Text
4 lines
71 B
Text
|
|
func factorial_recursive(n) {
|
|||
|
|
n == 0 ? 1 : (n * __FUNC__(n-1))
|
|||
|
|
}
|