11 lines
621 B
Plaintext
11 lines
621 B
Plaintext
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts(1,10): error TS1189: The variable declaration of a 'for...in' statement cannot have an initializer.
|
|
tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts(1,19): error TS2304: Cannot find name 'X'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts (2 errors) ====
|
|
for (var a = 1 in X) {
|
|
~
|
|
!!! error TS1189: The variable declaration of a 'for...in' statement cannot have an initializer.
|
|
~
|
|
!!! error TS2304: Cannot find name 'X'.
|
|
} |