codeql/javascript/ql/test/library-tests/Strictness/a.js

11 строки
207 B
JavaScript

// this toplevel is strict
'use strict';
// this function is strict because its toplevel is strict
function f() {
}
//this function is strict because its toplevel is strict
function g() {
'use strict';
}