MCPcopy
hub / github.com/chartjs/Chart.js / getOwnPropertyDescriptor

Function getOwnPropertyDescriptor

src/helpers/helpers.config.ts:73–75  ·  view source on GitHub ↗

* A trap for Object.getOwnPropertyDescriptor. * Also used by Object.hasOwnProperty.

(target, prop)

Source from the content-addressed store, hash-verified

71 * Also used by Object.hasOwnProperty.
72 */
73 getOwnPropertyDescriptor(target, prop) {
74 return Reflect.getOwnPropertyDescriptor(target._scopes[0], prop);
75 },
76
77 /**
78 * A trap for Object.getPrototypeOf.

Callers

nothing calls this directly

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected