mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
43 lines
451 B
JavaScript
43 lines
451 B
JavaScript
function f(x) {
|
|
if (x > 23) {
|
|
function g() {
|
|
return 42;
|
|
}
|
|
} else {
|
|
function g() {
|
|
return 56;
|
|
}
|
|
}
|
|
return g();
|
|
}
|
|
|
|
function f2(x) {
|
|
'use strict';
|
|
if (x > 23) {
|
|
function g() {
|
|
return 42;
|
|
}
|
|
} else {
|
|
function g() {
|
|
return 56;
|
|
}
|
|
}
|
|
return g();
|
|
}
|
|
|
|
function f3(x) {
|
|
'use strict';
|
|
function f4() {
|
|
if (x > 23) {
|
|
function g() {
|
|
return 42;
|
|
}
|
|
} else {
|
|
function g() {
|
|
return 56;
|
|
}
|
|
}
|
|
return g();
|
|
}
|
|
}
|