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
12 lines
128 B
JavaScript
12 lines
128 B
JavaScript
{
|
|
{
|
|
var f = function f() {
|
|
return 1;
|
|
};
|
|
switch (1) {
|
|
case 1:
|
|
expect(f()).toBe(1);
|
|
}
|
|
}
|
|
}
|