mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix
* fix switch
* Revert "Fix order of `transform-block-scoped-functions` in `preset-env` (#16475)"
This reverts commit 15a3342b39.
* clean
* fix test
* use enter
* fix
20 lines
353 B
JavaScript
20 lines
353 B
JavaScript
foo.func1 = function () {
|
|
if (cond1) {
|
|
var _loop = function () {
|
|
if (cond2) {
|
|
func2 = function () {};
|
|
func3 = function () {};
|
|
func4(function () {
|
|
func2();
|
|
});
|
|
return 1; // break
|
|
}
|
|
},
|
|
func2,
|
|
func3;
|
|
for (;;) {
|
|
if (_loop()) break;
|
|
}
|
|
}
|
|
};
|