tor-browser

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

input.js (1242B)


      1 import aDefault from "./src/mod1";
      2 import { aNamed, aNamed as anotherNamed } from "./src/mod2";
      3 import { original as anAliased } from "./src/mod3";
      4 import * as aNamespace from "./src/mod4";
      5 
      6 import aDefault2 from "./src/mod5";
      7 import { aNamed2, aNamed2 as anotherNamed2 } from "./src/mod6";
      8 import { original as anAliased2 } from "./src/mod7";
      9 
     10 import aDefault3 from "./src/mod9";
     11 import { aNamed3, aNamed3 as anotherNamed3 } from "./src/mod10";
     12 import { original as anAliased3 } from "./src/mod11";
     13 
     14 import optimizedOut from "./src/optimized-out";
     15 optimizedOut();
     16 
     17 export default function root() {
     18  console.log("pause here", root);
     19 
     20  console.log(aDefault);
     21  console.log(anAliased);
     22  console.log(aNamed);
     23  console.log(anotherNamed);
     24  console.log(aNamespace);
     25 
     26  try {
     27    // None of these are callable in this code, but we still want to make sure
     28    // they map properly even if the only reference is in a call expressions.
     29    console.log(aDefault2());
     30    console.log(anAliased2());
     31    console.log(aNamed2());
     32    console.log(anotherNamed2());
     33 
     34    console.log(new aDefault3());
     35    console.log(new anAliased3());
     36    console.log(new aNamed3());
     37    console.log(new anotherNamed3());
     38  } catch (e) {}
     39 }
     40 
     41 export function example(){}