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
36 lines
288 B
JavaScript
36 lines
288 B
JavaScript
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();
|