tor-browser

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

input.js (291B)


      1 // Babel will convert the loop body to a function to handle the 'val' lexical
      2 // enclosure behavior.
      3 const vals = [1, 2];
      4 
      5 export default function root() {
      6  console.log("pause here");
      7 
      8  for (const val of vals) {
      9    console.log("pause again", (() => val)());
     10  }
     11 
     12  console.log("done");
     13 }