REPLServer.prototype.eval - Node documentation
property REPLServer.prototype.eval

Usage in Deno

import { REPLServer } from "node:repl";

Specified in the REPL options, this is the function to be used when evaluating each given line of input. If not specified in the REPL options, this is an async wrapper for the JavaScript eval() function.

Type