7 lines
314 B
Plaintext
7 lines
314 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement3.ts (2 errors) ====
|
|
for (var a, b in X) {
|
|
~
|
|
!!! error TS1091: Only a single variable declaration is allowed in a 'for...in' statement.
|
|
~
|
|
!!! error TS2304: Cannot find name 'X'.
|
|
} |