I noticed that if you apply this code:
var curry = function(x) {
return function(y) {
return x + y;
};
};
console.log(curry(3)(2));
You could apply the sum of 3+2, this is what is called "Curry", but I don't find it very useful, I would like to know, if there are many others good examples and cases to use it