blob: f710f5e890ba8d7328cfb84943c2c34e4c580154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
var rollupStepOverForOfArrayClosure = (function () {
'use strict';
// Babel will optimize this for..of because it call tell the value is an array.
function root() {
console.log("pause here");
for (const val of [1, 2]) {
console.log("pause again", (() => val)());
}
console.log("done");
}
return root;
}());
//# sourceMappingURL=step-over-for-of-array-closure.js.map
|