test-packages/support/vendor/ember-template-compiler.js
/*
    Differs from default implementation by checking for _any_ `Reflect.construct`
    (the default implementation tries to ensure that `Reflect.construct` is truly
    the native one).
  
    Original source: https://github.com/babel/babel/blob/v7.9.2/packages/babel-helpers/src/helpers.js#L738-L757
  */
Differs from default implementation by checking for _any_ `Reflect.construct`
(the default implementation tries to ensure that `Reflect.construct` is truly
the native one).


Differs from default implementation by checking for _any_ ` Reflect . construct ` ( the default implementation tries to ensure that ` Reflect . construct ` is truly the native one ) .
function createSuper(Derived) {
    return function () {
      var Super = getPrototypeOf(Derived);
      var result;
      if (hasReflectConstruct) {
        var NewTarget = getPrototypeOf(this).constructor;
        result = Reflect.construct(Super, arguments, NewTarget);
      } else {
        result = Super.apply(this, arguments);
      }
      return possibleConstructorReturn(this, result);
    };
  }
function createSuper ( Derived ) { return function ( ) { var Super = getPrototypeOf ( Derived ) ; var result ; if ( hasReflectConstruct ) { var NewTarget = getPrototypeOf ( this ) . constructor ; result = Reflect . construct ( Super , arguments , NewTarget ) ; } else { result = Super . apply ( this , arguments ) ; } return possibleConstructorReturn ( this , result ) ; } ; }
Differs from default implementation by checking for _any_ `Reflect.construct`
(the default implementation tries to ensure that `Reflect.construct` is truly
the native one).
Differs from default implementation by checking for _any_ ` Reflect . construct ` ( the default implementation tries to ensure that ` Reflect . construct ` is truly the native one ) .
// NOTE: This doesn't work if this.__proto__.constructor has been modified.