mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
JS: Refactor
This commit is contained in:
@@ -4,7 +4,9 @@ class PrivateClass {}
|
||||
|
||||
export const ExportedConst = class ExportedConstClass {} // $ name=(pack1).ExportedConst
|
||||
|
||||
class ClassWithEscapingInstance {}
|
||||
class ClassWithEscapingInstance {
|
||||
m() {} // $ name=(pack1).ClassWithEscapingInstance.prototype.m
|
||||
}
|
||||
|
||||
export function getEscapingInstance() {
|
||||
return new ClassWithEscapingInstance();
|
||||
|
||||
Reference in New Issue
Block a user