You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
427 B

3 months ago
  1. import getPrototypeOf from "./getPrototypeOf.js";
  2. import isNativeReflectConstruct from "./isNativeReflectConstruct.js";
  3. import possibleConstructorReturn from "./possibleConstructorReturn.js";
  4. function _callSuper(t, o, e) {
  5. return o = getPrototypeOf(o), possibleConstructorReturn(t, isNativeReflectConstruct() ? Reflect.construct(o, e || [], getPrototypeOf(t).constructor) : o.apply(t, e));
  6. }
  7. export { _callSuper as default };