mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JavaScript: Add support for parsing postfix generator comprehensions.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
(for (year of years) if (year > 2000) year);
|
||||
year;
|
||||
(for (i of numbers) for (j of letters) i+j);
|
||||
(for (i of numbers) for (j of letters) if (i<j) i+j);
|
||||
(for (i of numbers) for (j of letters) if (i<j) i+j);
|
||||
(x.p for (x in xs));
|
||||
|
||||
Reference in New Issue
Block a user