mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
The semantic crate currently compiles 5 binaries for integration test, this PR merges them into one.
27 lines
482 B
JavaScript
27 lines
482 B
JavaScript
function myFunction() {
|
|
switch (true) {
|
|
case 1:
|
|
'case 1'
|
|
break;
|
|
case 2:
|
|
'case 2'
|
|
case 3:
|
|
'case 3'
|
|
break;
|
|
case 4: {
|
|
'case 4'
|
|
let i = 10;
|
|
i++;
|
|
return i;
|
|
}
|
|
case 5:
|
|
'case 5'
|
|
j++;
|
|
foo()
|
|
default:
|
|
'default'
|
|
return 10;
|
|
}
|
|
'function scope'
|
|
return 5;
|
|
}
|