* Desugar class properties to Object.defineProperty per spec * Define uninitialized static class properties with value=undefined * Make class-properties increased spec compliance opt-in (spec: true)
10 lines
142 B
JavaScript
10 lines
142 B
JavaScript
class Child extends Parent {
|
|
constructor() {
|
|
super();
|
|
}
|
|
|
|
scopedFunctionWithThis = () => {
|
|
this.name = {};
|
|
}
|
|
}
|