REPLServer.prototype.useGlobal - Node documentation
property REPLServer.prototype.useGlobal

Usage in Deno

import { REPLServer } from "node:repl";

Specified in the REPL options, this is a value indicating whether the default eval function will use the JavaScript global as the context as opposed to creating a new separate context for the REPL instance.

Type

boolean