* Don't use args rest/spread to hoist super method calls * Hoist this in hoisted super method calls * Make the code more readable Review by edoardocavazza
8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
class MyClass extends BaseClass {
|
|
async loadEntity() {
|
|
this.website = await this.loadWebsite();
|
|
this.report.setCompany(this.website.company);
|
|
super.loadEntity();
|
|
}
|
|
}
|