Files
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
..
2020-10-21 01:26:34 +02:00
2021-05-31 15:34:46 -04:00
2021-07-11 09:43:55 +02:00
2021-04-16 07:47:46 +02:00
2021-06-02 13:22:16 -04:00
2021-05-17 09:11:35 +02:00
2021-07-29 11:56:47 +01:00
2021-05-31 15:34:56 -04:00
2021-07-13 08:11:48 +02:00
2021-05-31 15:34:46 -04:00
2021-07-11 09:46:25 +02:00
2021-06-11 07:24:56 +02:00
2021-07-11 09:43:52 +02:00