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

Function isNotLegacyObjectPrototypeMethod

lib/internal/repl/completion.js:107–113  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

105}
106
107function isNotLegacyObjectPrototypeMethod(str) {
108 return isIdentifier(str) &&
109 str !== '__defineGetter__' &&
110 str !== '__defineSetter__' &&
111 str !== '__lookupGetter__' &&
112 str !== '__lookupSetter__';
113}
114
115function getGlobalLexicalScopeNames(contextId) {
116 return sendInspectorCommand((session) => {

Callers

nothing calls this directly

Calls 1

isIdentifierFunction · 0.70

Tested by

no test coverage detected