Guest User

Untitled

a guest
Jun 14th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. var cons = function () {
  2. this.a = 1;
  3. this.b = 2;
  4. }
  5. var obj = new cons();
  6.  
  7. cons.prototype.b = 3;
  8. cons.prototype.c = 4;
Add Comment
Please, Sign In to add comment