MCPcopy Index your code
hub / github.com/nodejs/node / [customInspectSymbol]

Method [customInspectSymbol]

lib/internal/debugger/inspect_repl.js:338–346  ·  view source on GitHub ↗
(depth, opts)

Source from the content-addressed store, hash-verified

336 }
337
338 [customInspectSymbol](depth, opts) {
339 const type = StringPrototypeToUpperCase(this.type[0]) +
340 StringPrototypeSlice(this.type, 1);
341 const name = this.name ? `<${this.name}>` : '';
342 const prefix = `${type}${name} `;
343 return SideEffectFreeRegExpPrototypeSymbolReplace(/^Map /,
344 utilInspect(this.properties, opts),
345 prefix);
346 }
347}
348
349function copyOwnProperties(target, source) {

Callers

nothing calls this directly

Tested by

no test coverage detected