mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
20 lines
318 B
JavaScript
20 lines
318 B
JavaScript
// OK - don't report anything in .js files.
|
|
function getStuff(number) {
|
|
return {
|
|
"new": function() {
|
|
|
|
},
|
|
"constructor": 123,
|
|
"function": "this is a string!"
|
|
}
|
|
}
|
|
|
|
class Foobar {
|
|
new() {
|
|
return 123;
|
|
}
|
|
function() {
|
|
return "string";
|
|
}
|
|
}
|