startRepl (function)
Launch the Yavascript REPL (read-eval-print-loop).
@paramcontext — Variables to make available as globals within the repl.@paramlang — The language to use in the repl. Defaults to "javascript".
startRepl(...) (call signature)
(context?: {
[key: string]: any;
}, lang?: "js" | "javascript" | "ts" | "typescript" | "jsx" | "tsx" | "coffee" | "coffeescript" | "civet"): void;
startRepl.NOTHING (symbol property)
A special value; when expressions result in this value, the repl will print nothing instead of printing this value.