MCPcopy Index your code
hub / github.com/nodejs/node / getter

Function getter

test/parallel/test-crypto-keyobject-brand-check.js:22–24  ·  view source on GitHub ↗
(proto, name)

Source from the content-addressed store, hash-verified

20const invalidThis = { code: 'ERR_INVALID_THIS', name: 'TypeError' };
21
22function getter(proto, name) {
23 return Object.getOwnPropertyDescriptor(proto, name).get;
24}
25
26{
27 const secret = createSecretKey(Buffer.alloc(16));

Callers 6

defaultExportFunction · 0.70
defaultFunction · 0.70
do_uniqueFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…