Answers for "fibanachi"

0

fibanachi

function fib(n){
	var fib = [0, 1];
	var i = 0;
	for (let i = 0; i != n-2; i++){

		fib.push(fib[i]+fib[i+1]);

	}

	return fib;

}
Posted by: Guest on January-04-2021

Code answers related to "fibanachi"

Code answers related to "Javascript"

Browse Popular Code Answers by Language