Source code
Revision control
Copy as Markdown
Other Tools
var rollupBabel6StepOverForOf = (function () {
'use strict';
var vals = [1, 2];
function root() {
console.log("pause here");
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
for (var _iterator = vals[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var val = _step.value;
console.log("pause again", val);
}
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
console.log("done");
}
return root;
}());
//# sourceMappingURL=step-over-for-of.js.map