feature/challenge-algorithms #1

Merged
EleonoraOtz merged 11 commits from feature/challenge-algorithms into master 2022-11-01 20:41:51 +00:00
Showing only changes of commit 1f5ef4cd49 - Show all commits

View File

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