Https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop

Tell us what’s happening:

Your code so far


// Setup
var myArr = [ 2, 3, 4, 5, 6];
var total = 0;
for (myArr[0]; myArr.length<6 ; myArr+=2){
total += myArr;
}
// Only change code below this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36.

Challenge: Iterate Through an Array with a For Loop

Link to the challenge:

Tell us what’s happening. With what do you have problem exactly?