mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
248 B
JavaScript
12 lines
248 B
JavaScript
"use strict";
|
|
(function () {
|
|
"use strict";
|
|
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.
|