Merge branch 'feature/07-sumEven' into developer

This commit is contained in:
Matheus Mariosa 2022-11-02 13:37:39 -03:00
commit 47c2eca88c

View File

@ -1,4 +1,10 @@
export function sumEven(value) {
// implementar logica aqui
var total = 0;
for (let i of value) {
if (i % 2 ===0) {
total += i;
}
}
return total;
}