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