Skip to content

Instantly share code, notes, and snippets.

function curry(f) {
return function(x) {
var g = f.bind(this, x);
if(g.length == 0) return g();
if(arguments.length > 1) return curry(g).apply(this, [].slice.call(arguments, 1));
return curry(g);
};
}
var sum = curry(function(x, y) {
@imflop
imflop / serialize-json.jquery.js
Last active December 13, 2015 20:18 — forked from shiawuen/LICENSE
serialize form to json
We couldn’t find that file to show.