tor-browser

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

step-over-for-of-closure.js (571B)


      1 var rollupBabel7StepOverForOfClosure = (function () {
      2  'use strict';
      3 
      4  // Babel will convert the loop body to a function to handle the 'val' lexical
      5  // enclosure behavior.
      6  var vals = [1, 2];
      7  function root() {
      8    console.log("pause here");
      9 
     10    var _loop = function _loop() {
     11      var val = vals[_i];
     12      console.log("pause again", function () {
     13        return val;
     14      }());
     15    };
     16 
     17    for (var _i = 0; _i < vals.length; _i++) {
     18      _loop();
     19    }
     20 
     21    console.log("done");
     22  }
     23 
     24  return root;
     25 
     26 }());
     27 //# sourceMappingURL=step-over-for-of-closure.js.map