forked from M3-Academy/challenge-algorithms-v2.0
Merge branch 'feature/sumeven' into development
This commit is contained in:
commit
565e6d9ab0
@ -1,5 +1,6 @@
|
||||
export function sumEven(value) {
|
||||
// implementar logica aqui
|
||||
let resposta = 0
|
||||
value.forEach(element => {
|
||||
if(element % 2 === 0)
|
||||
resposta += element
|
||||
|
Loading…
Reference in New Issue
Block a user