feat: finalizado sum

This commit is contained in:
Vitor Soares 2022-10-28 11:55:46 -03:00
parent 58d5a12222
commit 8134411c16

View File

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