9 lines
143 B
JavaScript
9 lines
143 B
JavaScript
export function sum(values) {
|
|
// implementar logica aqui
|
|
let soma = 0;
|
|
for (i in numbers) {
|
|
soma += numbers[i];
|
|
}
|
|
return soma;
|
|
}
|