Guest User

Untitled

a guest
Nov 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. var Thing = function(a,b) { this.a = a; this.b = b; }
  2. Thing.prototype.add = function() {
  3. var sum = this.a + this.b;
  4. this.add = function() { return sum; }
  5. return this.add();
  6. };
Add Comment
Please, Sign In to add comment