UNPKG

@babel/runtime-corejs3

Version:

babel's modular runtime helpers with core-js@3 polyfilling

8 lines • 505 B
import _Reflect$construct from "core-js-pure/features/reflect/construct.js"; import getPrototypeOf from "./getPrototypeOf.js"; import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; import possibleConstructorReturn from "./possibleConstructorReturn.js"; function _callSuper(e, c, p) { return c = getPrototypeOf(c), possibleConstructorReturn(e, isNativeReflectConstruct() ? _Reflect$construct(c, p || [], getPrototypeOf(e).constructor) : c.apply(e, p)); } export { _callSuper as default };