Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hinkley
on Oct 10, 2024
|
parent
|
context
|
favorite
| on:
Proposal: JavaScript Structs
When they made class declarations imply strict, I thought that was a pretty wise move. But it might have been good if they applied more limitations than that, made them super-strict.
Such as for instance making 'var' not work in class declarations.
afavour
on Oct 10, 2024
[–]
ES modules too would have been a great opportunity to cut out some of the outdated cruft.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Such as for instance making 'var' not work in class declarations.