tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

relazify-constructor.js (403B)


      1 class WithConstructor {
      2    constructor() {}
      3 }
      4 
      5 class DefaultConstructor {
      6 }
      7 
      8 class WithConstructorDerived extends DefaultConstructor {
      9    constructor() {
     10        super()
     11    }
     12 }
     13 
     14 class DefaultConstructorDerived extends DefaultConstructor {
     15 }
     16 
     17 relazifyFunctions();
     18 
     19 let a = new WithConstructor;
     20 let b = new DefaultConstructor;
     21 let c = new WithConstructorDerived;
     22 let d = new DefaultConstructorDerived;