Say I have
function bake(egg, milk, batter) { ... }
And I already have the egg. Then I might do this
var f = bake.bind(null, theEgg);
to create a function that does the rest of the work.
But: what if I have the milk or the batter and I want to bind it, and it's the first argument that will be passed in later? Is there a functional way to twist the arguments without just creating an anonymous intermediary function and manually twisting the arguments so I can have fluid, functional-looking code with the argument bound?