diff --git a/lib/repl.js b/lib/repl.js index 3a5ac4346e7..7cfbf0e878d 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -247,8 +247,8 @@ exports.REPLServer = REPLServer; // prompt is a string to print on each line for the prompt, // source is a stream to use for I/O, defaulting to stdin/stdout. -exports.start = function(prompt, source, eval, useGlobal) { - var repl = new REPLServer(prompt, source, eval, useGlobal); +exports.start = function(prompt, source, eval, useGlobal, ignoreUndefined) { + var repl = new REPLServer(prompt, source, eval, useGlobal, ignoreUndefined); if (!exports.repl) exports.repl = repl; return repl; };