Tell us what’s happening:
Describe your issue in detail here.
just wondering if someone can point out to me what is wrong with this code?
Thanks so much.
**Your code so far**
// Setup
var myArr = [ 2, 3, 4, 5, 6];
// Only change code below this line
for (var i = 0; i < myArr.length; i++) {
total += myArr[i];
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Challenge: Iterate Through an Array with a For Loop
Link to the challenge: