Recursion Example Fib by Terrance Smith May 24, 2013 JavaScript function fib(n){ return n<2?n:fib(n-1)+fib(n-2); } console.info(fib(20));