2);
var result = intermediate(3); // 6
how bind works to make this funnction a curried function?
wait, this works?
I wouldn't call it a curried function. I'd call it partial application, you know what that is?
I found it here http://kishorelive.com/2012/02/06/currying-in-javascript-using-bind/
Обсуждают сегодня