From 40c3f7c8381118a22fcf5c65b5cfa7c8a1c13363 Mon Sep 17 00:00:00 2001 From: Guilherme Date: Fri, 28 Oct 2022 16:33:01 -0300 Subject: [PATCH] feat(fibonacci): adicionando a logica da funcao --- 04-fibonacci/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/04-fibonacci/index.js b/04-fibonacci/index.js index 37c64cc..f703f11 100644 --- a/04-fibonacci/index.js +++ b/04-fibonacci/index.js @@ -1,4 +1,8 @@ export function fibonacci(value) { // implementar logica aqui - + const arr = [0, 1] + for(let i = 1; i