var memo = [1, 1, 1]; function fib(x) { memo[x] = memo[x] || fib(x - 1) + fib(x - 2); return memo[x];} print(fib(90));
Standard input is empty
2880067194370816000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!