From 7dd059e3de248b6e2d4eada6723da30efe3ba389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leidyanne=20Gon=C3=A7alves?= Date: Wed, 2 Nov 2022 09:56:07 -0300 Subject: [PATCH] comitando sum --- 06-sum/index.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/06-sum/index.js b/06-sum/index.js index ebc2ee1..5d04578 100644 --- a/06-sum/index.js +++ b/06-sum/index.js @@ -1,4 +1,19 @@ export function sum(values) { // implementar logica aqui - -} \ No newline at end of file + var numbers = [1]; + var numbers = [1, 2]; + var numbers = [1, 2, 3]; + var numbers = [1, 2, 3, 4]; + var numbers = [4, 6, 12, 5]; + var numbers = [9, 234, 312, 999, 21, 2311]; + var numbers = [533, 234, 23423, 32, 48876]; + var numbers = [-1, 5, -10, -45]; + var numbers = [-2, -7, -32]; + var sum = 0; +} + +for(var i =0;i