mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
c26a2252b6
**Related issue:** - Closes #8161.
11 lines
150 B
JavaScript
11 lines
150 B
JavaScript
function run(flag, output = "a output") {
|
|
if (flag === "b") {
|
|
output = "b output";
|
|
}
|
|
|
|
console.log(output);
|
|
}
|
|
|
|
run("a");
|
|
run("b");
|