求一个数字的阶乘和 例:3的阶乘和=3!+2!+1! function getNum(num) { var result = 1; for (var i = 1; i <= num; i++) { result *= i; } return result; ... Other 2023-11-20 45 点赞 0 评论 68 浏览