Closed zeke closed 8 years ago
Thanks @zeke! Good catch 😄
(cc: #22)
FYI, it still works:
$ node -v
v6.4.0
# ...
REPL started...
> Expression assignment to _ now disabled.
> _.each
[Function: forEach]
The wording is misleading. It doesn't mean "Node.js no longer allows to be assigned to in the REPL" (i.e. is read-only). It means "Expressions entered in the REPL in this session will no longer be assigned to _" (i.e. it's yours now, so don't expect it to contain the result of the last expression you entered).
Using
_
doesn't work on newer versions of node. See https://github.com/nodejs/node/issues/5431