fork download
  1. function foo(f) {
  2. return f(4);
  3. }
  4.  
  5. print(foo(function bar(x) { if(x == 0) return 1; else return x * bar(x-1); }))
Success #stdin #stdout 0.02s 4984KB
stdin
Standard input is empty
stdout
24