mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
24 lines
211 B
JavaScript
24 lines
211 B
JavaScript
g = 23; // $ Alert
|
|
|
|
h = 23;
|
|
alert(h);
|
|
|
|
uid = 0;
|
|
function incr() {
|
|
return uid++;
|
|
}
|
|
|
|
function foo() {
|
|
var x;
|
|
x = 0;
|
|
}
|
|
|
|
onload = function() {}
|
|
|
|
global = 42;
|
|
|
|
prop = 42;
|
|
|
|
/*global otherGlobal*/
|
|
otherGlobal = 56;
|