17 lines
226 B
JavaScript
17 lines
226 B
JavaScript
var _foo = new WeakSet();
|
|
|
|
class A extends B {
|
|
constructor(...args) {
|
|
super(...args);
|
|
|
|
_foo.add(this);
|
|
}
|
|
|
|
}
|
|
|
|
function _foo2() {
|
|
let _A;
|
|
|
|
babelHelpers.get(babelHelpers.getPrototypeOf(A.prototype), "x", this);
|
|
}
|