From d3dd9f76efeea9e0e7b75685ffa77d2109e06275 Mon Sep 17 00:00:00 2001 From: Guilherme Date: Fri, 28 Oct 2022 16:38:58 -0300 Subject: [PATCH] feat(sum): adicionando a logica da funcao --- 06-sum/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/06-sum/index.js b/06-sum/index.js index ebc2ee1..cdfd3e7 100644 --- a/06-sum/index.js +++ b/06-sum/index.js @@ -1,4 +1,8 @@ export function sum(values) { // implementar logica aqui - + let soma = 0 + for(let i = 0; i