Y
Hacker News
new
|
ask
|
show
|
jobs
by
SomeoneWeird
3954 days ago
I lot of these things are basically irrelevant if you use ES6/7.
2 comments
nailer
3954 days 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.
link
cpursley
3954 days ago
Are brackets and semicolons now optional in ES6/7?
link
benaston
3954 days 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).
link