Merge branch 'feature/sumeven' into development

This commit is contained in:
Marcello Rodrigues Martins 2022-10-29 16:40:57 -03:00
commit 3e952ba59d

View File

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