What's wrong?


#1

for (var i =8; i < 108; i++) {
console.log(i += 12);
}

How do i print the 8 also into the console? As I keep getting this message

Oops, try again. It looks like your loop didn't log 8 to the console.


#2

why not use i += 12 instead of i++ so you increase in steps of 12 rather then 1?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.