7 lines
310 B
Text
7 lines
310 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement6.ts (2 errors) ====
|
||
|
for (var a = 1, b = 2 in X) {
|
||
|
~
|
||
|
!!! Only a single variable declaration is allowed in a 'for...in' statement.
|
||
|
~
|
||
|
!!! Cannot find name 'X'.
|
||
|
}
|