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

Function copyOwnProperties

lib/internal/debugger/inspect_repl.js:349–356  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

347}
348
349function copyOwnProperties(target, source) {
350 ArrayPrototypeForEach(
351 ReflectOwnKeys(source),
352 (prop) => {
353 const desc = ReflectGetOwnPropertyDescriptor(source, prop);
354 ObjectDefineProperty(target, prop, desc);
355 });
356}
357
358function aliasProperties(target, mapping) {
359 ArrayPrototypeForEach(ObjectKeys(mapping), (key) => {

Callers 1

initializeContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…