tor-browser

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

code_WorkerTargetActor.attachThread-worker.js (228B)


      1 "use strict";
      2 
      3 function f() {
      4  const a = 1;
      5  const b = 2;
      6  const c = 3;
      7 
      8  return [a, b, c];
      9 }
     10 
     11 self.onmessage = function (event) {
     12  if (event.data == "ping") {
     13    f();
     14    postMessage("pong");
     15  }
     16 };
     17 
     18 postMessage("load");