标签:for循环 var 循环 function ret java ons turn rip
function cj (num) { if (num === 0) { return 0 } else { for (var i = num - 1; i >= 1; i--) { num *= i } return num; } } console.log(cj(2))
标签:for循环 var 循环 function ret java ons turn rip
原文地址:https://www.cnblogs.com/ly-qingqiu/p/12156017.html