development #13

Merged
Rafael_Sampaio_de_Oliveira merged 22 commits from development into master 2022-11-01 16:32:59 +00:00
Showing only changes of commit a0f907d08f - Show all commits

View File

@ -1,4 +1,8 @@
export function fibonacci(value) {
// implementar logica aqui
}
let arr = [0, 1];
for (let i = 2; i < value + 1; i++) {
arr.push(arr[i - 2] + arr[i - 1]);
}
return arr[value];
}