UNPKG

483 BJavaScriptView Raw
1import _Reflect$construct from "core-js/library/fn/reflect/construct.js";
2import getPrototypeOf from "./getPrototypeOf.js";
3import isNativeReflectConstruct from "./isNativeReflectConstruct.js";
4import possibleConstructorReturn from "./possibleConstructorReturn.js";
5export default function _callSuper(t, o, e) {
6 return o = getPrototypeOf(o), possibleConstructorReturn(t, isNativeReflectConstruct() ? _Reflect$construct(o, e || [], getPrototypeOf(t).constructor) : o.apply(t, e));
7}
\No newline at end of file