Skip to content

Instantly share code, notes, and snippets.

@lukehedger lukehedger/curry.js
Created Oct 3, 2017

Embed
What would you like to do?
πŸ›
function first(prop1) {
console.log(prop1)
return function (prop2) {
console.log(prop1 + prop2)
}
}
first(1)(2) // => 1, 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.