Documentation for REPL states that the default value of `useGlobal` is `false`. It makes no distinction between a REPL that is created programmatically, and the one a user is dropped into on the command line by executing `node` with no arguments. This change ensures that the CLI REPL uses a default value of `false`. Fixes: https://github.com/nodejs/node/issues/5659 Ref: https://github.com/nodejs/node/issues/6802 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> PR-URL: https://github.com/nodejs/node/pull/5703 |
||
|---|---|---|
| .. | ||
| process | ||
| streams | ||
| bootstrap_node.js | ||
| child_process.js | ||
| cluster.js | ||
| freelist.js | ||
| linkedlist.js | ||
| module.js | ||
| net.js | ||
| process.js | ||
| readline.js | ||
| readme.md | ||
| repl.js | ||
| socket_list.js | ||
| util.js | ||
| v8_prof_polyfill.js | ||
| v8_prof_processor.js | ||
Internal Modules
The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules.
These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.