) console.log(fact(
5))
const fact_gen = (
self) => (n) => n<=
1?
1:n*
self(n-
1) console.log(fact_gen(fact)(
5))
const fact1 = (
self, n) => n<=
1?
1:n*
self(
self, n-
1) console.log(fact1(fact1,
5))
const fact2 = (
self) => (n) => n<=
1?
1:n*
self(
self)(n-
1) console.log(fact2(fact2)(
5))
const fact3 = (
self) => (n) => ((g)=>n <=
1?
1:n*g(n-
1))(
self(
self)) console.log(fact3(fact3)(
5))
const fact4 = (
self) => (n) => ((g) => (m) => m<=
1?
1:m*g(m-
1))(
self(
self))(n) console.log(fact4(fact4)(
5))
const weirdFunc = (func_gen) => (
5/8 首页 上一页 3 4 5 6 7 8 下一页 尾页