mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
15 lines
264 B
JavaScript
15 lines
264 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;
|
|
};
|
|
}
|
|
}
|