Skip to content

Commit

Permalink
doc: add notice about useGlobal option in repl docs
Browse files Browse the repository at this point in the history
PR-URL: #13866
Fixes: #13827
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
  • Loading branch information
starkwang authored and addaleax committed Jul 18, 2017
1 parent 5543802 commit 157ef23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/repl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 157ef23

Please sign in to comment.