mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: align breakEvalOnSigint - repl option
PR-URL: https://github.com/nodejs/node/pull/7849 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: JungMinu - Minwoo Jung <jmwsoft@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -392,9 +392,9 @@ added: v0.1.91
|
||||
equivalent to prefacing every repl statement with `'use strict'`.
|
||||
* `repl.REPL_MODE_MAGIC` - attempt to evaluates expressions in default
|
||||
mode. If expressions fail to parse, re-try in strict mode.
|
||||
* `breakEvalOnSigint` - Stop evaluating the current piece of code when
|
||||
`SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together
|
||||
with a custom `eval` function. Defaults to `false`.
|
||||
* `breakEvalOnSigint` - Stop evaluating the current piece of code when
|
||||
`SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together
|
||||
with a custom `eval` function. Defaults to `false`.
|
||||
|
||||
The `repl.start()` method creates and starts a `repl.REPLServer` instance.
|
||||
|
||||
|
||||
Reference in new issue
Block a user