I think that note doesn't apply anymore, your function fib is wrong, try your function with these calls:
fib
console.log(fib(20)); console.log(fib(10)); console.log(fib(5));
And next time, use spoiler flag please.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
I think that note doesn't apply anymore, your function
fib
is wrong, try your function with these calls:And next time, use spoiler flag please.
This comment is hidden because it contains spoiler information about the solution