summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/esm/callSuper.js
blob: 33a3b607328a6c439c84d01cb1318a82622261ae (plain)
1
2
3
4
5
6
import getPrototypeOf from "./getPrototypeOf.js";
import isNativeReflectConstruct from "./isNativeReflectConstruct.js";
import possibleConstructorReturn from "./possibleConstructorReturn.js";
export default function _callSuper(t, o, e) {
  return o = getPrototypeOf(o), possibleConstructorReturn(t, isNativeReflectConstruct() ? Reflect.construct(o, e || [], getPrototypeOf(t).constructor) : o.apply(t, e));
}