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

Method createAndRegister

lib/internal/debugger/inspect_repl.js:447–451  ·  view source on GitHub ↗
({ profile })

Source from the content-addressed store, hash-verified

445 }
446
447 static createAndRegister({ profile }) {
448 const p = new Profile(profile);
449 ArrayPrototypePush(profiles, p);
450 return p;
451 }
452
453 [customInspectSymbol](depth, { stylize }) {
454 const { startTime, endTime } = this.data;

Callers 1

createReplFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected