Skip to content

Instantly share code, notes, and snippets.

@haingdc
Created March 13, 2018 04:56
Show Gist options
  • Save haingdc/df8d1bf7f59a62ac0b4881e4b787b9fe to your computer and use it in GitHub Desktop.
Save haingdc/df8d1bf7f59a62ac0b4881e4b787b9fe to your computer and use it in GitHub Desktop.
A Gentle Introduction to Functional JavaScript: Part 3
var partialFirstOfTwo = function(fn, param1) {
return function(param2) {
return fn(param1, param2);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment