11 * @param {Function|String} fn or string
16 module.exports = function(obj, fn){
17 if ('string' == typeof fn) fn = obj[fn];
18 if ('function' != typeof fn) throw new Error('bind() requires a function');
19 var args = slice.call(arguments, 2);
21 return fn.apply(obj, args.concat(slice.call(arguments)));