| 1 |
class Foo { |
| 2 |
constructor() { |
| 3 |
var _newtarget = this.constructor, |
| 4 |
_class; |
| 5 |
babelHelpers.defineProperty(this, "test", function _target() { |
| 6 |
this instanceof _target ? this.constructor : void 0; |
| 7 |
}); |
| 8 |
babelHelpers.defineProperty(this, "test2", function () { |
| 9 |
_newtarget; |
| 10 |
}); |
| 11 |
this.Bar = (_class = class { |
| 12 |
constructor() { |
| 13 |
babelHelpers.defineProperty(this, "q", this.constructor); |
| 14 |
} // should not replace |
| 15 |
}, babelHelpers.defineProperty(_class, "p", void 0), babelHelpers.defineProperty(_class, "p1", class { |
| 16 |
constructor() { |
| 17 |
this.constructor; |
| 18 |
} |
| 19 |
}), babelHelpers.defineProperty(_class, "p2", new function _target2() { |
| 20 |
this instanceof _target2 ? this.constructor : void 0; |
| 21 |
}()), babelHelpers.defineProperty(_class, "p3", function () { |
| 22 |
void 0; |
| 23 |
}), babelHelpers.defineProperty(_class, "p4", function _target3() { |
| 24 |
this instanceof _target3 ? this.constructor : void 0; |
| 25 |
}), _class); |
| 26 |
} |
| 27 |
} |