mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
(function () {
|
|
if (true) {
|
|
function foo() {
|
|
return 3;
|
|
}
|
|
}
|
|
return foo(); // `foo` is not defined, because we are in strict-mode.
|
|
})();
|
|
|
|
export default 3; // strict-mode implied because ES2015 module.
|