repl: fix some repl context issues
This partially fixes contexts like `{} instanceof Object === false`
in the REPL. This does not fix all cases, since it's something
fundamental from the REPL's design that things like these can happen.
Refs: https://github.com/nodejs/node/issues/27859
PR-URL: https://github.com/nodejs/node/pull/28561
Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By:
Rich Trott <rtrott@gmail.com>
Reviewed-By:
Luigi Pinca <luigipinca@gmail.com>
Reviewed-By:
Anna Henningsen <anna@addaleax.net>
Reviewed-By:
Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
6874aa1f
Please register or sign in to comment