Whats wrong?


#1


This code isn't doing anything. Shouldn't this count to nine?


for (var i = 0; i >= 9; i++) {
    console.log(i);
}


#2

Your ">=" should be "<=" instead.


#3

I have tried playing around with your code and from what I can tell is that you are 1 third right and two thirds wrong. First off, you need to have var i = something other than 0 because that starts off at 1. You need to start off at 5. And as @lev suggested and he is correct you need to flip your sign around in that matter.


#4

haha I always forget that that part is the like the condition, Thanks!


#5

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