export function sum(values) {
// implementar logica aqui
let soma = 0
if(values.length == 0) return 0
for (let i = 0; i < values.length; i++) {
soma += values[i]
}
return soma
sum([1, 2, 3, 4, 5])