Okay, lets dive straight into the code...
const fib = n =>
Math.floor((((1 + 5**.5)/2)**n - ((1 - 5**.5)/2)**n)/5**.5)
Explanation here.
Okay, lets dive straight into the code...
const fib = n =>
Math.floor((((1 + 5**.5)/2)**n - ((1 - 5**.5)/2)**n)/5**.5)
Explanation here.
For further actions, you may consider blocking this person and/or reporting abuse
Resource Bunk -
Jen C. -
Michael Andreuzza -
CodeXpertise -
Top comments (1)