mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +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");
|