tor-browser

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

step-over-for-of-array-closure.js (567B)


      1 var rollupBabel6StepOverForOfArrayClosure = (function () {
      2  'use strict';
      3 
      4  // Babel will optimize this for..of because it call tell the value is an array.
      5  function root() {
      6    console.log("pause here");
      7 
      8    var _loop = function _loop(val) {
      9      console.log("pause again", function () {
     10        return val;
     11      }());
     12    };
     13 
     14    var _arr = [1, 2];
     15    for (var _i = 0; _i < _arr.length; _i++) {
     16      var val = _arr[_i];
     17      _loop(val);
     18    }
     19 
     20    console.log("done");
     21  }
     22 
     23  return root;
     24 
     25 }());
     26 //# sourceMappingURL=step-over-for-of-array-closure.js.map