depot/third_party/tvl/users/tazjin/rlox/examples/fib.lox

7 lines
89 B
Text
Raw Normal View History

fun fib(n) {
if (n <= 1) return n;
return fib(n - 2) + fib(n - 1);
}
print fib(30);