MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / getOwnPropertyDescriptor

Function getOwnPropertyDescriptor

lib/container.js:619–633  ·  view source on GitHub ↗
(target, prop)

Source from the content-addressed store, hash-verified

617 return prop in container.support[name]
618 },
619 getOwnPropertyDescriptor(target, prop) {
620 if (!container.support[name]) {
621 // Object will be loaded on property access
622 return {
623 enumerable: true,
624 configurable: true,
625 value: undefined,
626 }
627 }
628 return {
629 enumerable: true,
630 configurable: true,
631 value: container.support[name][prop],
632 }
633 },
634 ownKeys() {
635 if (!container.support[name]) {
636 return []

Callers

nothing calls this directly

Calls 1

lazyLoadFunction · 0.85

Tested by

no test coverage detected