doc: add notice about useGlobal option in repl docs
PR-URL: https://github.com/nodejs/node/pull/13866 Fixes: https://github.com/nodejs/node/issues/13827 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
parent
49e63ff4a4
commit
6e47e133ab
@ -405,7 +405,8 @@ changes:
|
||||
REPL instances `terminal` value.
|
||||
* `useGlobal` {boolean} If `true`, specifies that the default evaluation
|
||||
function will use the JavaScript `global` as the context as opposed to
|
||||
creating a new separate context for the REPL instance. Defaults to `false`.
|
||||
creating a new separate context for the REPL instance. The node CLI REPL
|
||||
sets this value to `true`. Defaults to `false`.
|
||||
* `ignoreUndefined` {boolean} If `true`, specifies that the default writer
|
||||
will not output the return value of a command if it evaluates to
|
||||
`undefined`. Defaults to `false`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user