Created
March 13, 2018 04:56
-
-
Save haingdc/df8d1bf7f59a62ac0b4881e4b787b9fe to your computer and use it in GitHub Desktop.
A Gentle Introduction to Functional JavaScript: Part 3
This file contains hidden or 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 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