Skip to content

Instantly share code, notes, and snippets.

@ericelliott
Created February 12, 2014 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericelliott/8947851 to your computer and use it in GitHub Desktop.
Save ericelliott/8947851 to your computer and use it in GitHub Desktop.
wtf node?
$ node
> var _ = require('underscore-node');
undefined
> _
undefined
> var stampit = require('stampit');
undefined
> stampit
{ [Function: stampit]
compose: [Function: compose],
extend: [Function: mixIn],
mixIn: [Function: mixIn],
convertConstructor: [Function: convertConstructor] }
> _
{ [Function: stampit]
compose: [Function: compose],
extend: [Function: mixIn],
mixIn: [Function: mixIn],
convertConstructor: [Function: convertConstructor] }
>
@ericelliott
Copy link
Author

_ is a special variable in the Node REPL which refers to the value of the last assignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment