summaryrefslogtreecommitdiff
path: root/lib/repl.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/repl.js')
-rw-r--r--lib/repl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/repl.js b/lib/repl.js
index 6446c74787..c6c51fd2e6 100644
--- a/lib/repl.js
+++ b/lib/repl.js
@@ -138,7 +138,7 @@ function REPLServer(prompt,
if (breakEvalOnSigint && eval_) {
// Allowing this would not reflect user expectations.
- // breakEvalOnSigint affects only the behaviour of the default eval().
+ // breakEvalOnSigint affects only the behavior of the default eval().
throw new errors.Error('ERR_INVALID_REPL_EVAL_CONFIG');
}
@@ -711,7 +711,7 @@ REPLServer.prototype.complete = function() {
function complete(line, callback) {
// There may be local variables to evaluate, try a nested REPL
if (this.bufferedCommand !== undefined && this.bufferedCommand.length) {
- // Get a new array of inputed lines
+ // Get a new array of inputted lines
var tmp = this.lines.slice();
// Kill off all function declarations to push all local variables into
// global scope