mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
(function () {
|
|
if (true) {
|
|
function foo() {
|
|
return 3;
|
|
}
|
|
}
|
|
return foo(); // this resolves to `foo` above, because we have function-scope in non-strict mode.
|
|
})(); |