MCPcopy Create free account
hub / github.com/nodejs/node / addModule

Method addModule

deps/v8/test/inspector/protocol-test.js:174–176  ·  view source on GitHub ↗
(string, url, lineOffset, columnOffset)

Source from the content-addressed store, hash-verified

172 }
173
174 addModule(string, url, lineOffset, columnOffset) {
175 utils.compileAndRunWithOrigin(this.id, string, url, lineOffset || 0, columnOffset || 0, true);
176 }
177
178 loadScript(fileName) {
179 this.addScript(utils.read(fileName));

Calls

no outgoing calls

Tested by

no test coverage detected