tor-browser

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

subclass-WeakRef.js (456B)


      1 // This file was procedurally generated from the following sources:
      2 // - src/subclass-builtins/WeakRef.case
      3 // - src/subclass-builtins/default/expression.template
      4 /*---
      5 description: new SubWeakRef() instanceof WeakRef (Subclass instanceof Heritage)
      6 features: [WeakRef]
      7 flags: [generated]
      8 ---*/
      9 
     10 
     11 const Subclass = class extends WeakRef {}
     12 
     13 const sub = new Subclass({});
     14 assert(sub instanceof Subclass);
     15 assert(sub instanceof WeakRef);
     16 
     17 reportCompare(0, 0);