3.2 for loop

for (var i = 0; i < vacationSpots.length; ++i) {
console.log(vacationSpots[i]);
}

I tried this, but i still getting errror in this ?

Resolved the problem.
Actually it was not expecting for loop.
It want me to enter plain:
console.log(vacationSpots[0]);
console.log(vacationSpots[1]);
console.log(vacationSpots[2]);

:slight_smile: