function foo(f) { return f(4);} print(foo(function bar(x) { if(x == 0) return 1; else return x * bar(x-1); }))
Standard input is empty
24
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!