Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: make sure
_
cannot be defined in REPL
If the `_` is redefined as `const` in REPL, it will break the REPL, as REPL will store the result of the last evaluated expression in `_`. This patch has a test to make sure that the REPL doesn't allow redefining `_` as `const`, also still assiging values to `_` is permitted. Refer: nodejs#3729 Refer: nodejs#3704
- Loading branch information