Files
Checkmate/node_modules/@babel/runtime/helpers/esm/callSuper.js
T

6 lines
408 B
JavaScript
Raw Normal View History

2024-05-05 11:21:00 +03:30
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));
}