Files
node/test/parallel
Anna Henningsen 815fbec6f1 repl: do not include legacy getter/setter methods in completion
For every object that inherits from `Object.prototype`, the REPL
includes the `Object.prototype` methods in its autocompletion.

This is already a little noisy, but in particular, this also
includes the legacy `__defineGetter__` family of methods;
since those are deprecated and not in practical use anymore,
it helps reduce noise a bit to remove them.

This commit does not remove `__proto__` as it is a little
more popular and, despite its downsides, a slightly more convenient
way to access the prototype of an object in the REPL than
`Object.getPrototypeOf(...)`.

PR-URL: https://github.com/nodejs/node/pull/39576
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-08-02 19:37:51 +02:00
..
2021-05-17 09:11:28 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2021-04-29 13:45:30 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2021-05-17 09:11:30 +02:00
2021-05-17 09:11:30 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2021-06-02 13:22:16 -04:00
2020-10-17 00:48:26 +02:00
2020-12-29 15:49:09 +00:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00