Feat(Desafio_2.6): Cria resposta desafio 2.6 #6

Merged
Rhayllon_Daudt merged 1 commits from Feature/Desafio_2.6 into develop 2022-10-29 07:21:02 +00:00

View File

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