summaryrefslogtreecommitdiff
path: root/lib/internal/repl/recoverable.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/repl/recoverable.js')
-rw-r--r--lib/internal/repl/recoverable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/repl/recoverable.js b/lib/internal/repl/recoverable.js
index 023de2f7ab..2c31db9faf 100644
--- a/lib/internal/repl/recoverable.js
+++ b/lib/internal/repl/recoverable.js
@@ -45,7 +45,7 @@ function isRecoverableError(e, code) {
case 'Unterminated string constant':
const token = this.input.slice(this.lastTokStart, this.pos);
- // see https://www.ecma-international.org/ecma-262/#sec-line-terminators
+ // See https://www.ecma-international.org/ecma-262/#sec-line-terminators
recoverable = /\\(?:\r\n?|\n|\u2028|\u2029)$/.test(token);
}