Merge branch 'feature/sum' into development

This commit is contained in:
Marcello Rodrigues Martins 2022-10-29 16:36:14 -03:00
commit 06e3feb69b

View File

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