Guest User

Untitled

a guest
May 20th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function.prototype.bind = function(){
  2.   var fn = this, args = Array.prototype.slice.call(arguments), object = args.shift();
  3.   return function(){
  4.     return fn.apply(object,
  5.       args.concat(Array.prototype.slice.call(arguments)));
  6.   };
  7. };
Add Comment
Please, Sign In to add comment