This challenge is dumb and the logic presented here Learn JavaScript - Full Course for Beginners - YouTube makes no sense. someone please explain how the var i can tell the what all of the myArray numbers added together equals.
Challenge: Basic JavaScript - Iterate Through an Array with a For Loop
Okay, I was thinking of values in the array as numbers, so for example const arr = [160, 52] let total = 0;
total = total + arr[1]
console.log(total);
When looking at the problem mentioned above, I was imagining that the console would print 2, not 52. After seeing how you laid out the problem it makes a lot more sense now, Thank You : D