diff --git a/lib/repl.js b/lib/repl.js index 75750ca1cd6..b752f5c67e6 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -126,8 +126,9 @@ function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } -// Can overridden with custom print functions, such as `probe` or `eyes.js`. -// This is the default "writer" value if none is passed in the REPL options. +// This is the default "writer" value, if none is passed in the REPL options, +// and it can be overridden by custom print functions, such as `probe` or +// `eyes.js`. const writer = exports.writer = (obj) => util.inspect(obj, writer.options); writer.options = Object.assign({}, util.inspect.defaultOptions,