摘要: ##最简单的递归函数 ——N的阶乘 let fn = function (N) { if (N <= 1) { return 1; } return N * fn(N - 1); } let res = fn(3); console.log(res); ##匿名函数 //这是匿名函数自调用 (fun 阅读全文
posted @ 2022-09-05 09:27 zhuhah 阅读(108) 评论(0) 推荐(0)