Currying in JavaScript
Kristina Brainwave

I am new to javascript, so forgive my ignorance.

Why go through this process of utilising the currier, when bind gives the same result and doesn’t hide the function code?


var seq5 = sequence.bind(null,1);

Also if I do a console.log(seq5), I actually get to see what seq5 is actually doing (what code it contains), where as with

var seq5 = currier(sequence,1);

The currier function obfucates the code.

I have this feeling that I am missing something important here :)