mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
14 lines
275 B
JavaScript
14 lines
275 B
JavaScript
import 'dummy';
|
|
|
|
function foo(x, y, z) {
|
|
arguments; // ensure 'arguments' are used
|
|
document.writeln(x);
|
|
document.writeln(y); // $ Alert
|
|
document.writeln(z);
|
|
}
|
|
|
|
function bar() {
|
|
const url = window.location.href; // $ Source
|
|
foo('safe', url, 'safe');
|
|
}
|