feat(06-sum): Adiciona função

This commit is contained in:
Emerson Fully 2022-10-29 14:37:02 -03:00
parent 209e6ee2aa
commit b755e428f9

View File

@ -1,4 +1,4 @@
export function sum(values) {
// implementar logica aqui
return values.reduce((acc, cur) => acc + cur, 0)
}