The Fibonacci sequence is a sequence of integers in which each term is the sum of the two preceding terms.
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Devtonian -
Junissen -
Frédéric Guérin (Satora Penter) -
Aditya Pratap Bhuyan -
Top comments (1)
const fib=n=>[...Array(n)].reduce((acc,val,i)=>acc.concat(i>1?acc[i-1]+acc[i-2]:i),[])