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

Function _defineProperty

frontend/public/swagger-ui-bundle.js:351–375  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

349 var a,
350 u = i(65606)
351 function _defineProperty(s, o, i) {
352 return (
353 (o = (function _toPropertyKey(s) {
354 var o = (function _toPrimitive(s, o) {
355 if ('object' != typeof s || null === s) return s
356 var i = s[Symbol.toPrimitive]
357 if (void 0 !== i) {
358 var a = i.call(s, o || 'default')
359 if ('object' != typeof a) return a
360 throw new TypeError('@@toPrimitive must return a primitive value.')
361 }
362 return ('string' === o ? String : Number)(s)
363 })(s, 'string')
364 return 'symbol' == typeof o ? o : String(o)
365 })(o)) in s
366 ? Object.defineProperty(s, o, {
367 value: i,
368 enumerable: !0,
369 configurable: !0,
370 writable: !0,
371 })
372 : (s[o] = i),
373 s
374 )
375 }
376 var _ = i(86238),
377 w = Symbol('lastResolve'),
378 x = Symbol('lastReject'),

Callers 5

_objectSpreadFunction · 0.85
CopyToClipboardFunction · 0.85
DebounceInputFunction · 0.85
checkFunction · 0.85

Calls 1

_toPropertyKeyFunction · 0.85

Tested by

no test coverage detected