_It uses the Node the REPL , to store the result of the last expression, so after your initial call will refer to a function . To avoid this, you need to explicitly use a non-conflict name as a reference to the underscore, for example._.keys _keys
$node
> _und = require('./underscore.js')
...
> _und.keys
[Function: keys]
> _und.keys
[Function: keys]
James source
share