Contact: aviboots(AT)netvision.net.il
39,043 questions
50,760 answers
573 users
function fibo(n, a, b) { if (n > 0) { fibo(n - 1, b, a + b); console.log(a); } } let N = 12; fibo(N, 0, 1); /* run: 89 55 34 21 13 8 5 3 2 1 1 0 */