9 lines
No EOL
316 B
Text
9 lines
No EOL
316 B
Text
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement4.ts (3 errors) ====
|
|
for (a = 1 in b) {
|
|
~
|
|
!!! Cannot find name 'a'.
|
|
~~~~~
|
|
!!! The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.
|
|
~
|
|
!!! Cannot find name 'b'.
|
|
} |