Created
June 25, 2012 14:42
-
-
Save woeye/2989064 to your computer and use it in GitHub Desktop.
Using underscore in node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require('underscore'); | |
var a = { | |
foo: 'foo' | |
}; | |
var b = { | |
moo: 'moo' | |
}; | |
var c = _.extend(a,b); | |
console.log(c); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to do a "npm install underscore" before.