development #11

Merged
ednabarboza merged 20 commits from development into master 2022-10-29 02:59:32 +00:00
Showing only changes of commit b377f7a9d6 - Show all commits

View File

@ -1,4 +1,12 @@
export function sumEven(value) { export function sumEven(value) {
// implementar logica aqui let inicio = 0
for(let i=0; i< value.length; i++){
if(value[i] % 2 === 0){
inicio = inicio + value[i]
}
}
return inicio
} }