Closed
Description
Version: v6.1.0 , (master: v7.0.0-pre)
Platform: Darwin Princes-MacBook-Pro.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
Subsystem: repl
When useGlobal
is set to false
, Tab complete
function returns fewer results.
// With useGlobal: true
Desktop 🙈 ₹ node
> I<<TAB>>
Infinity
Int16Array Int32Array Int8Array Intl
> In
// With useGlobal: false
Desktop 🙈 ₹ cat test.js
const repl = require('repl');
repl.start({useGlobal: false});
Desktop 🙈 ₹ node test.js
> In<<TAB>> // expand to 'Infinity'