Merge pull request 'Feat(Desafio_2.4): Cria resposta desafio 2.4' (#4) from Feature/Desafio_2.4 into develop

Reviewed-on: #4
This commit is contained in:
Rhayllon Daudt 2022-10-29 07:08:33 +00:00
commit 56e918b956

View File

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