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

Some reasons:

    \n can easily get turned into \r\n
    Whitespace is harder to see when debugging (especially with word wrap) 
    Convention


You're not supposed to touch your minified js after you generated it


And most people won't. Using semicolons means things are less likely to break when other people use your code.




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

Search: