export function sumEven(value) { let somaPares = 0; for (let index = 0; index < value.length; index++) { if (value[index] % 2 === 0) { somaPares = somaPares + value[index]; } } return somaPares; }