Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

property ReplOptions.useGlobal

If true, specifies that the default evaluation function will use the JavaScript global as the context as opposed to creating a new separate context for the REPL instance. The node CLI REPL sets this value to true.

Type #

boolean | undefined