mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
JS: Add support for " of " syntax to help during transition
This commit is contained in:
@@ -83,4 +83,6 @@ function testSinks() {
|
||||
testlib.mySinkIfArityTwo(source(), 2, 3); // OK
|
||||
testlib.mySinkIfArityTwo(1, source(), 3); // OK
|
||||
testlib.mySinkIfArityTwo(1, 2, source()); // OK
|
||||
|
||||
testlib.one.two.three().legacySyntax(source()); // NOT OK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user