forked from M3-Academy/challenge-algorithms-v2.0
feat(06-sum): Adiciona função
This commit is contained in:
parent
209e6ee2aa
commit
b755e428f9
@ -1,4 +1,4 @@
|
||||
export function sum(values) {
|
||||
// implementar logica aqui
|
||||
|
||||
return values.reduce((acc, cur) => acc + cur, 0)
|
||||
}
|
Loading…
Reference in New Issue
Block a user