mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Add test for `const` with `tdz` * Rewrite block-scoping plugin * Update block-scoping fixtures * Update other fixtures * Fix `let` shadowing variable read in a sibling scope * Update fixtures * Update Babel 8 fixtures * Add minNodeVersion * Fix block scoped vars shadowing globals * Review by JLHwung * minNodeVersion to class fields test
19 lines
345 B
JavaScript
19 lines
345 B
JavaScript
var _loop = function (result) {
|
|
result = otherValue;
|
|
fn(() => {
|
|
result;
|
|
});
|
|
};
|
|
var _iterator = babelHelpers.createForOfIteratorHelper(results),
|
|
_step;
|
|
try {
|
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
var result = _step.value;
|
|
_loop(result);
|
|
}
|
|
} catch (err) {
|
|
_iterator.e(err);
|
|
} finally {
|
|
_iterator.f();
|
|
}
|