Feat(Desafio_2.4): Cria resposta desafio 2.4 #4

Merged
Rhayllon_Daudt merged 1 commits from Feature/Desafio_2.4 into develop 2022-10-29 07:08:34 +00:00

View File

@ -1,4 +1,7 @@
export function fibonacci(value) { export function fibonacci(value) {
// implementar logica aqui // implementar logica aqui
if(value <= 1){
} return value
}
return fibonacci(value - 1) + fibonacci(value - 2)
}