MCPcopy Create free account
hub / github.com/dop251/goja_nodejs / EnableConsole

Function EnableConsole

eventloop/eventloop.go:94–98  ·  view source on GitHub ↗

EnableConsole controls whether the "console" module is loaded into the runtime used by the loop. By default, loops are created with the "console" module loaded, pass EnableConsole(false) to NewEventLoop to disable this behavior.

(enableConsole bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestRunWithConsoleFunction · 0.85
TestRunNoConsoleFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestRunWithConsoleFunction · 0.68
TestRunNoConsoleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…