Skip to content

Instantly share code, notes, and snippets.

@santosh79
Created February 6, 2015 19:43
Show Gist options
  • Save santosh79/1c32e0c791af53f00dca to your computer and use it in GitHub Desktop.
Save santosh79/1c32e0c791af53f00dca to your computer and use it in GitHub Desktop.
var add = function(a,b) { return a + b; }
var add5 = _.partial(add, 5);
var fourTwenty = add5(415); //Add 5 to 415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment