Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repl: pre-define
_
in REPL's context
As `_` is not defined in REPL's context, when it is defined as `const`, it breaks REPL, as it tries to store the result of the last evaluated expression in `_`. This patch makes sure that `_` is pre-defined in REPL's context, so that if users define it again, they will get error. Refer: nodejs#3729 Refer: nodejs#3704
- Loading branch information