Entrega do Desafio #1

Merged
anacarolinaduartecavalcante merged 10 commits from feature/09-caractere-mais-repetido into master 2022-10-24 19:09:34 +00:00
Showing only changes of commit 4c45b44e28 - Show all commits

View File

@ -16,7 +16,11 @@
*/
function sum(numbers) {
// implementar logica aqui
return 0
let sumOfArrays = 0;
for(let index = 0; index < numbers.length; index +=1) {
sumOfArrays = sumOfArrays + numbers[index];
}
return sumOfArrays;
}
// Resultados esperados