class Foo {
  constructor() {
    var _newtarget = this.constructor,
        _class;

    this.test = function _target() {
      this instanceof _target ? this.constructor : void 0;
    };

    this.test2 = function () {
      _newtarget;
    };

    this.Bar = (_class = class {
      constructor() {
        this.q = this.constructor;
      } // should not replace


    }, _class.p = void 0, _class.p1 = class {
      constructor() {
        this.constructor;
      }

    }, _class.p2 = new function _target2() {
      this instanceof _target2 ? this.constructor : void 0;
    }(), _class.p3 = function () {
      void 0;
    }, _class.p4 = function _target3() {
      this instanceof _target3 ? this.constructor : void 0;
    }, _class);
  }

}
