Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MichaelDrogalis/95613148626b2d73df280177b432d909 to your computer and use it in GitHub Desktop.
Save MichaelDrogalis/95613148626b2d73df280177b432d909 to your computer and use it in GitHub Desktop.
function f (x) {
return function g(y) {
return x + y;
}
}
h = f(42)
h(58) // => 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment