HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by cpursley | Hacker News Reader
Parent
Full thread
cpursley
·
Are brackets and semicolons now optional in ES6/7?
View on HN
benaston
·
Semicolons have always been optional. Brackets are only used for array literals (oh and destructuring assignment) as far as I know (and are required).
Reply on news.ycombinator.com