MCPcopy Index your code
hub / github.com/patriksimek/vm2 / get

Method get

lib/script.js:188–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 __proto__: null,
187 // Put this here so that it is enumerable, and looks like a property.
188 get() {
189 return this._prefix + this._code + this._suffix;
190 },
191 set(value) {
192 const strNewCode = String(value);
193 if (strNewCode === this._code && this._prefix === '' && this._suffix === '') return;

Callers 11

loadBuiltinModuleMethod · 0.45
readScriptMethod · 0.45
readPackageMethod · 0.45
registerModuleMethod · 0.45
resolveFullMethod · 0.45
checkAccessMethod · 0.45
loadJSMethod · 0.45
addAllFromFunction · 0.45
fetchPageFunction · 0.45
fetchAdvisoryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected