feat(desafio): Adiciona quarta tarefa concluida

This commit is contained in:
Manuela Luana Schumacker Tavares 2022-10-28 15:02:21 -03:00
parent 89dda96dfd
commit f1125c7604

View File

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