tor-browser

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

standalone-function-name.js (309B)


      1 function test(name) {
      2    eval(`
      3 function ${name}(stdlib, foreign, heap) {
      4    "use asm";
      5    var ffi = foreign.t;
      6    return {};
      7 }
      8 ${name}(15, 10);
      9 `);
     10 }
     11 
     12 test("as");
     13 test("async");
     14 test("await");
     15 test("each");
     16 test("from");
     17 test("get");
     18 test("let");
     19 test("of");
     20 test("set");
     21 test("static");
     22 test("target");