Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var Cat,
  2.   __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
  3.  
  4. Cat = (function() {
  5.   function Cat() {
  6.     this.stuff = __bind(this.stuff, this);
  7.   }
  8.  
  9.   Cat.prototype["do"] = function(x) {
  10.     return x;
  11.   };
  12.  
  13.   Cat.prototype.stuff = function(y) {
  14.     return y;
  15.   };
  16.  
  17.   return Cat;
  18.  
  19. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement