Hacker News new | past | comments | ask | show | jobs | submit login

    for (var i = 0 i < len i++) {
      console.log("whoops")
    }



fortunately, there are better ways to write for loops in javascript.

and if i'm in a situation where i need the classic for loop because of js forLoop weirdness, then i will know when to use it with semicolons.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: