18 lines
259 B
JavaScript
18 lines
259 B
JavaScript
"use strict";
|
|
|
|
class Base {
|
|
method() {
|
|
return 'Hello!';
|
|
}
|
|
|
|
}
|
|
|
|
class Derived extends Base {
|
|
method() {
|
|
var _super$method;
|
|
|
|
return (_super$method = super.method) === null || _super$method === void 0 ? void 0 : _super$method.call(this);
|
|
}
|
|
|
|
}
|