Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
17 lines
239 B
JavaScript
17 lines
239 B
JavaScript
var _foo = new WeakSet();
|
|
|
|
class A extends B {
|
|
constructor(...args) {
|
|
super(...args);
|
|
|
|
_foo.add(this);
|
|
}
|
|
|
|
}
|
|
|
|
var _foo2 = function _foo2() {
|
|
let _A;
|
|
|
|
babelHelpers.get(babelHelpers.getPrototypeOf(A.prototype), "x", this);
|
|
};
|