编辑代码
JS代码
14.16.1
10.16.0
运行
function
fn
(
n
)
{
if
(n==
1
)
return
1
;
return
n +
fn
(
n
-1
)
; } console.log(
fn
(
100
))
;