JavaScript JavaScript Loops, Arrays and Objects Simplify Repetitive Tasks with Loops Create a for Loop

shiny peanut
shiny peanut
4,223 Points

javascript for loop, parse error

I can't quite figure out what I'm doing wrong here. If you have a second, please point out the error for me.

script.js
for (var counter = 4; counter =< 156; counter++){
  console.log(counter);
}

1 Answer