**Fiboanacci Recursive**

fibonacci series: 1, 1, 2, 3, 5, 8,……

1st fibonacci:1, 2nd fibonacci:1, 3rd fibonacci:2 ………….

```
//print nth fibonacci number recursive
function fibonacci(n)
{
if(n<=2)
return 1;
return fibonacci(n-1)+fibonacci(n-2);
}
//alert(fibonacci(4));
//print first n fibonacci numbers
function fibonacciSeries(num)
{
let fibArr=[];
for(let i=1;i<=num;i++)
{
fibArr.push(fibonacci(i));
}
return fibArr;
}
console.log(fibonacciSeries(6));
… 44 more words
```