19 lines
268 B
JavaScript
19 lines
268 B
JavaScript
function Foo() {
|
|
var _newtarget = this instanceof Foo ? this.constructor : void 0;
|
|
|
|
const a = function () {
|
|
_newtarget;
|
|
};
|
|
}
|
|
|
|
class Bar {
|
|
constructor() {
|
|
var _newtarget2 = this.constructor;
|
|
|
|
const a = function () {
|
|
_newtarget2;
|
|
};
|
|
}
|
|
|
|
}
|