Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In my experience, precisely as often as you write statements that start with a left bracket or paren. E.g.

    [1, 2, 3].forEach( ... )
    (function(){ ... })()
Statements like that are virtually always errors under ASI, but if you avoid them nothing else causes problems.


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

Search: