const fibo = n => {
let fib = [1, 1];
for (let i = 2; i < n; i++) {
fib[i] = fib[i - 2] + fib[i - 1];
}
return fib;
};
function fibb(n){
var arr = [0,1];
for(var i = 0; i < n-2;i++)
arr.push(arr[i]+arr[i+1]);
return arr;
}
function fib(n){
let i = 2, f = [0, 1]
while (i<=n){
f.push(f[i-1]+f[i++ -2])
}
return f
}