书上说下面这样写不好。functionfactorial(num){if(num<=1){return1;}else{returnnum*factorial(num-1);}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
functionfactorial(num){if(num<=1){return1;}else{returnnum*factorial(num-1);}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
if(num<=1){return1;}else{returnnum*factorial(num-1);}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
return1;}else{returnnum*factorial(num-1);}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
}else{returnnum*factorial(num-1);}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
returnnum*factorial(num-1);}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
}}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
}要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
要写成这样才好:functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
functionfactorial(num){if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
if(num<=1){return1;}else{returnnum*arguments.callee(num-1);}}为什么?
return1;}else{returnnum*arguments.callee(num-1);}}为什么?
}else{returnnum*arguments.callee(num-1);}}为什么?
returnnum*arguments.callee(num-1);}}为什么?
}}为什么?
}为什么?
为什么?
狐的传说
慕的地6264312
相关分类