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

> For example, if JavaScript truly were to always require semicolons at the end of lines then that means this would be a syntax error:

Depends whether the semicolon is defined as a terminator or as a separator.

This would be valid code with statement separator semicolons.



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

Search: