MCPcopy Index your code
hub / github.com/dataease/SQLBot / _createSuper

Function _createSuper

frontend/public/swagger-ui-bundle.js:16510–16538  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

16508 )
16509 }
16510 function _createSuper(s) {
16511 var o = (function _isNativeReflectConstruct() {
16512 if ('undefined' == typeof Reflect || !Reflect.construct) return !1
16513 if (Reflect.construct.sham) return !1
16514 if ('function' == typeof Proxy) return !0
16515 try {
16516 return (
16517 Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})),
16518 !0
16519 )
16520 } catch (s) {
16521 return !1
16522 }
16523 })()
16524 return function _createSuperInternal() {
16525 var i,
16526 a = _getPrototypeOf(s)
16527 if (o) {
16528 var u = _getPrototypeOf(this).constructor
16529 i = Reflect.construct(a, arguments, u)
16530 } else i = a.apply(this, arguments)
16531 return (function _possibleConstructorReturn(s, o) {
16532 if (o && ('object' === _typeof(o) || 'function' == typeof o)) return o
16533 if (void 0 !== o)
16534 throw new TypeError('Derived constructors may only return object or undefined')
16535 return _assertThisInitialized(s)
16536 })(this, i)
16537 }
16538 }
16539 function _assertThisInitialized(s) {
16540 if (void 0 === s)
16541 throw new ReferenceError("this hasn't been initialised - super() hasn't been called")

Callers 1

Calls 3

_getPrototypeOfFunction · 0.85
_typeofFunction · 0.85
_assertThisInitializedFunction · 0.85

Tested by

no test coverage detected