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

I avoid using the semicolon in JS because doing so forces me to be aware of the semicolon insertion rules. Forgetting them can lead you to believe that statements like

    return
    { foo: 3 };
do what you expect :)


Why would you ever write that




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

Search: