Merge pull request 'feat(home):resolucao da questao 6' (#6) from feature/exercicio6 into development
Reviewed-on: #6
This commit is contained in:
commit
16d78802e2
@ -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
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user