top | item 10091630

(no title)

SomeoneWeird | 10 years ago

I lot of these things are basically irrelevant if you use ES6/7.

discuss

order

nailer|10 years ago

Most of it's good, just a cleaner JS, but it'd be better to drop the classes and lambda-type short function syntax in favour of ES6 classes and arrow functions.

cpursley|10 years ago

Are brackets and semicolons now optional in ES6/7?

benaston|10 years ago

Semicolons have always been optional. Brackets are only used for array literals (oh and destructuring assignment) as far as I know (and are required).