NodereplReplOptions.evalproperty ReplOptions.evalThe function to be used when evaluating each given line of input. Default: an async wrapper for the JavaScript eval() function. An eval function can error with repl.Recoverable to indicate the input was incomplete and prompt for additional lines. Type #REPLEval | undefinedSee #https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_default_evaluation https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_custom_evaluation_functions
property ReplOptions.evalThe function to be used when evaluating each given line of input. Default: an async wrapper for the JavaScript eval() function. An eval function can error with repl.Recoverable to indicate the input was incomplete and prompt for additional lines. Type #REPLEval | undefinedSee #https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_default_evaluation https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_custom_evaluation_functions