4 ms·
Are brackets and semicolons now optional in ES6/7?
by cpursley 11y ago
Are brackets and semicolons now optional in ES6/7?
- benaston 11y agoSemicolons have always been optional. Brackets are only used for array literals (oh and destructuring assignment) as far as I know (and are required).