4 lines
80 B
JavaScript
4 lines
80 B
JavaScript
|
function fib(f){if(f<2)return f
|
||
|
return fib(f-1)+fib(f-2)}
|
||
|
console.log(fib(32));
|