Closed
Description
the autocompletion list is corrupted after the value of any property of any global object was accessed.
$ njs
interactive njs 0.2.2
v.<Tab> -> the properties and prototype methods of v.
type console.help() for more information
>> n
native new njs njs.version null
>> njs.version
0.2.2
>> njs
njs njs njs.version
>> njs.
njs.__proto__ njs.constructor njs.hasOwnProperty njs.isPrototypeOf njs.toString njs.valueOf njs.version njs.version
>> Math.
Math.__proto__ Math.asin Math.atanh Math.cos Math.expm1 Math.imul Math.log10 Math.LOG2E Math.pow Math.sin Math.SQRT2
Math.abs Math.asinh Math.cbrt Math.cosh Math.floor Math.LN10 Math.LOG10E Math.max Math.random Math.sinh Math.tan
Math.acos Math.atan Math.ceil Math.E Math.fround Math.LN2 Math.log1p Math.min Math.round Math.sqrt Math.tanh
Math.acosh Math.atan2 Math.clz32 Math.exp Math.hypot Math.log Math.log2 Math.PI Math.sign Math.SQRT1_2 Math.trunc
>> Math.PI
3.14159
>> Math.
Math.__proto__ Math.atan Math.constructor Math.floor Math.LN2 Math.LOG2E Math.round Math.SQRT2
Math.__proto__ Math.atan Math.cos Math.fround Math.log Math.max Math.sign Math.tan
Math.abs Math.atan2 Math.cos Math.fround Math.log Math.max Math.sign Math.tan
Math.abs Math.atan2 Math.cosh Math.hasOwnProperty Math.log10 Math.min Math.sin Math.tanh
Math.acos Math.atanh Math.cosh Math.hypot Math.log10 Math.min Math.sin Math.tanh
Math.acos Math.atanh Math.E Math.hypot Math.LOG10E Math.PI Math.sinh Math.toString
Math.acosh Math.cbrt Math.E Math.imul Math.LOG10E Math.PI Math.sinh Math.trunc
Math.acosh Math.cbrt Math.exp Math.imul Math.log1p Math.pow Math.sqrt Math.trunc
Math.asin Math.ceil Math.exp Math.isPrototypeOf Math.log1p Math.pow Math.sqrt Math.valueOf
Math.asin Math.ceil Math.expm1 Math.LN10 Math.log2 Math.random Math.SQRT1_2
Math.asinh Math.clz32 Math.expm1 Math.LN10 Math.log2 Math.random Math.SQRT1_2
Math.asinh Math.clz32 Math.floor Math.LN2 Math.LOG2E Math.round Math.SQRT2
>> Math.