News for hackers. Stuff that matters.
Re:JavaScript Structs by hinkley on Thursday October 10, 2024 @04:22PM (#41803150)
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.

Re:JavaScript Structs by afavour on Thursday October 10, 2024 @06:44PM (#41804342)
ES modules too would have been a great opportunity to cut out some of the outdated cruft.