Merge pull request 'feat(home):resolucao da questao 6' (#6) from feature/exercicio6 into development

Reviewed-on: #6
This commit is contained in:
Edna Barboza de Lima 2022-10-28 12:07:00 +00:00
commit 16d78802e2

View File

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