Encoding unit — one grounded idea

1 Subclassing in JavaScript has become more convenient with class fields, eliminating the need to call `super()` to initialize base class properties before adding new ones
“Class field syntax is especially convenient when dealing with subclasses that introduce additional fields. Consider this Animal base class for example. To create a Cat subclass that introduces an additional instance property, you’d previously have to call super() to run the constructor of the Animal base class before creating this property.”
spoken · 456s · 2019-05-09 · en · Chrome for Developers · What’s new in JavaScript (Google I/O ’19)
id: c5a9b5c2aeffc732
concepts in this idea