function a(i){ console.log("stack level: " + i) a(i+1);} a(0);
测试结果:11412
JavaScript in nodejs
nodejs version: v8.11.3
测试结果:11213
Golang
版本:
测试结果:3947556
ABAP
data: lv_temp type int4. form recur using iv type int4. sy-index = iv. lv_temp = iv + 1. perform recur using lv_temp . endform. START-OF-SELECTION. perform recur using 0.