4 ms·
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, m
by hinkley 2y ago
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 2y agoES modules too would have been a great opportunity to cut out some of the outdated cruft.