JS: Add support for " of " syntax to help during transition

This commit is contained in:
Asger Feldthaus
2022-02-04 14:43:22 +01:00
parent 30254686d8
commit 53935db6c6
4 changed files with 39 additions and 15 deletions

View File

@@ -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
}