Forgot your password?

Journal: Javascript is a pain

Journal by gameboyhippo

So I'm struggling with a javascript function for a little bit. My for loop would end for no reason at all. Eventually I discovered that if you have a var statement in the middle of a for loop or if statement, the whole thing dies silently.

Yeah, I know, that's probably common knowledge, but hey, I'm still in my rookie year at programming professionally.

Life's the same, except for the shoes. - The Cars