Crockford says JS should be retired because it is too bloated & the next lang should look more like E: https://evrone.com/douglas-crockford-interview
I highly suspect one of these bloats is classes. When I look at the code examples for E, I see the function declaration pattern https://en.wikipedia.org/wiki/E_(programming_language)#Syntax_and_examples
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!