development #11

Merged
carloswinter merged 20 commits from development into master 2022-10-28 19:24:09 +00:00
Showing only changes of commit 452a9e79bd - Show all commits

View File

@ -1,4 +1,9 @@
export function sumEven(value) { export function sumEven(value) {
// implementar logica aqui // implementar logica aqui
let res=0;
value.forEach(element => {
if(element % 2 === 0)
res+=element;
});
return res;
} }