first commit
Some checks failed
Types tests / Test (lts/*) (push) Has been cancelled
Lint / Lint (lts/*) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / Test (20) (push) Has been cancelled
CI / Test (22) (push) Has been cancelled
CI / Test (24) (push) Has been cancelled
Some checks failed
Types tests / Test (lts/*) (push) Has been cancelled
Lint / Lint (lts/*) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / Test (20) (push) Has been cancelled
CI / Test (22) (push) Has been cancelled
CI / Test (24) (push) Has been cancelled
This commit is contained in:
35
external/builder/fixtures_babel/ifs.js
vendored
Normal file
35
external/builder/fixtures_babel/ifs.js
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
if ('test') {
|
||||
"1";
|
||||
}
|
||||
if (true) {
|
||||
"1";
|
||||
}
|
||||
if (true) {
|
||||
"1";
|
||||
} else {
|
||||
"2";
|
||||
}
|
||||
if (false) {
|
||||
"1";
|
||||
}
|
||||
if (false) {
|
||||
"1";
|
||||
} else {
|
||||
"2";
|
||||
}
|
||||
if (true && false) {
|
||||
"1";
|
||||
}
|
||||
if (true && false || '1') {
|
||||
"1";
|
||||
}
|
||||
|
||||
function f1() {
|
||||
if (true) {
|
||||
"1";
|
||||
}
|
||||
if (false) {
|
||||
"2";
|
||||
}
|
||||
}
|
||||
f1();
|
||||
Reference in New Issue
Block a user