2019-03-13 00:11:16 +01:00

28 lines
456 B
JavaScript

class A {
static get a() {
return 1;
}
}
class B extends A {
static get b() {
return 2;
}
static extract() {
return [babelHelpers.classStaticPrivateMethodGet(this, B, _getA), babelHelpers.classStaticPrivateMethodGet(this, B, _getB)];
}
}
var _getA = function _getA() {
return babelHelpers.get(babelHelpers.getPrototypeOf(B), "a", this);
};
var _getB = function _getB() {
return this.b;
};
var [getA, getB] = B.extract();