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