Posts by Vanil • 1 point
1 post
-
-1
votes2
answers5000
viewsA: How to add elements of an array that is a return of another Function in Javascript?
//somar todos arrays let teste = [1,2,3,4,5,6,7,8,9] let soma = 0 for (let i=0; i<teste.length;i++){ soma += teste[i] } console.log(soma)…
javascriptanswered Vanil 1