ES6 Classes just ES3 sugar? Not so fast. There’s a new Error if you add properties to `this` before calling `super`—breaking good use cases
-
-
-
Replying to @jashkenas
@jashkenas@wagenet I believe the idea is that config should be an argument to super itself, allowing the ancestor full control.2 replies 1 retweet 4 likes -
Replying to @stefanpenner
@stefanpenner@jashkenas@wagenet@rdrake98 It can be beneficial to keep constructor arguments consistent (polymorphism), so not ideal.2 replies 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.