feat: solucao sum #6

Merged
Rafael_Sampaio_de_Oliveira merged 1 commits from feature/solucao-sum into development 2022-10-28 13:11:06 +00:00

View File

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