Bind a context to a function FP-style
npm install fj-bind --save
var bind = require('fj-bind');
var bindToMe = bind(me); // me is a object
bindToMe(func1);
bindToMe(func2);
context -> function
A curried function that expects:
-
context
[required] : The context to bind to a function -
function
[required]: The function which is bound to the context