daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function class0() {
  2.     class1.prototype.constructor(this, "666666")
  3.     this.a = "123";
  4. }
  5.  
  6. class0.prototype.constructor = class0;
  7. class0.prototype.qwe =
  8.     function () {
  9.         console.log(this.a)
  10.         console.log(this.b)
  11.         console.log(this.c)
  12.         console.log(this.d)
  13.     };
  14. class0.prototype.a = 1;
  15. class0.prototype.b = 2;
  16.  
  17. function class1(arg) {
  18.     this.d = arg;
  19. }
  20.  
  21. class1.prototype.constructor = class1;
  22. class1.prototype.qwe =
  23.     function () {
  24.         console.log("11111111111111111111")
  25.     };
  26. class1.prototype.a = 1;
  27. class1.prototype.b = 2;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top