tor-browser

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

class_static_worker.js (193B)


      1 class A {
      2  static { this.x = 12; }
      3 }
      4 
      5 
      6 self.onmessage = function (e) {
      7  console.log(e)
      8  if (e.data == 'get') {
      9    postMessage(A.x);
     10    return;
     11  }
     12  postMessage('Unknown message type.');
     13 }