rinha 0.0.6

Competição saudável de compiladores
Documentation
1
2
3
4
5
6
7
8
9
let fib = fn (n) => {
  if (n < 2) {
    n
  } else {
    fib(n - 1) + fib(n - 2)
  }
};

print (fib(10))