Debian Codegraph @

packages/babel-plugin-transform-new-target/test/fixtures/general/function-duplicate-name/output.js

raw
1 function Foo() {
2 function Foo() {
3 var _Foo = this instanceof Foo ? this.constructor : void 0;
4 }
5 Foo.prototype.test = function _target() {
6 var Foo = this instanceof _target ? this.constructor : void 0;
7 };
8 }
9 var Bar = function _target2() {
10 var Bar = this instanceof _target2 ? this.constructor : void 0;
11 };