Recursion - Fibonacci

Run Settings
LanguageJavaScript
Language Version
Run Command
function fib(start1, start2, count){ //let tmp = count; if(count >= 1){ console.log('count:' + count + '\n'); let item = start1 + start2; console.log(item + ", "); fib(start2, item, count-1); }else{ console.log('End of the series!') } } fib(2,1,10);
Editor Settings
Theme
Key bindings
Full width
Lines