forked from M3-Academy/challenge-algorithms-v2.0
Entrega do Desafio #1
@ -1,4 +1,5 @@
|
||||
export function fibonacci(value) {
|
||||
// implementar logica aqui
|
||||
|
||||
var sqrt5 = Math.sqrt(5);
|
||||
return Math.round(Math.pow(((1 + sqrt5) / 2), value) / sqrt5);
|
||||
}
|
Loading…
Reference in New Issue
Block a user