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
  • Loading branch information
starkwang committed Jun 22, 2017
1 parent 32c7f11 commit 204ed31
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 204ed31

Please sign in to comment.