desafio 06-concluido

This commit is contained in:
Douglas Vinicius Nobrega 2022-10-28 18:36:45 -03:00
parent 6a1b4b9e33
commit 89c3e0852a

View File

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