4. Iterating over an array


#1

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
for (var i = 0; i < languages.length, i++) {
console.log(languages[i]);
}

doesn't work and I have no idea why.. it says Syntax error: unexpected token )


#2

Hi here

for (var i = 0; i < languages.length, i++)

After languages.length you put , instead of ;