<html>
<head>
<title>20、30、40的阶乘</title>
<script language="javascript">
var n;
document.write(jiecheng(20)+"<br/>");
document.write(jiehceng(30)+"<br/>");
document.write(jiehceng(40)+"<br/>");
function jiecheng(n)
{
if(n<=1)
return 1;
else
{
return n*arguments.callee(n-1);
}
}
</script>
</head>
</html>
求好心人解答!