Files
codeql/javascript/ql/test/query-tests/Expressions/HapaxLegomenon/tst.js
2018-08-02 17:53:23 +01:00

33 lines
462 B
JavaScript

/*properties Map*/
var o = {
foo: function() {}
};
o.foo();
o.foo();
o.Foo();
new google.maps.Map(document.getElementById("map"), mapOptions);
[].map(function(){});
[1, 2, 3].map(function(){});
new google.maps.Marker();
google.maps.marker;
google.maps.marker;
var q = { bar: 42 };
q.bar;
q.bar;
function tst(iccId) {
iccId;
iccId;
iccID;
}
/*property startsWith*/
var o = { StartsWith: 42 };
o.StartsWith;
o.StartsWith;
"hi".startsWith("h");