%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/@babel/runtime-corejs3/helpers/esm/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/@babel/runtime-corejs3/helpers/esm/createSuper.js

import _Reflect$construct from "@babel/runtime-corejs3/core-js/reflect/construct";
import getPrototypeOf from "./getPrototypeOf.js";
import isNativeReflectConstruct from "./isNativeReflectConstruct.js";
import possibleConstructorReturn from "./possibleConstructorReturn.js";
export default function _createSuper(Derived) {
  var hasNativeReflectConstruct = isNativeReflectConstruct();
  return function _createSuperInternal() {
    var Super = getPrototypeOf(Derived),
        result;

    if (hasNativeReflectConstruct) {
      var NewTarget = getPrototypeOf(this).constructor;
      result = _Reflect$construct(Super, arguments, NewTarget);
    } else {
      result = Super.apply(this, arguments);
    }

    return possibleConstructorReturn(this, result);
  };
}

Zerion Mini Shell 1.0