diff --git a/07-sumEven/index.js b/07-sumEven/index.js index 8845d8b..592c2ef 100644 --- a/07-sumEven/index.js +++ b/07-sumEven/index.js @@ -1,5 +1,6 @@ export function sumEven(value) { // implementar logica aqui + let resposta = 0 value.forEach(element => { if(element % 2 === 0) resposta += element