13 lines
No EOL
462 B
Text
13 lines
No EOL
462 B
Text
tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts(3,20): error TS2448: Block-scoped variable 'v' used before its declaration.
|
|
|
|
|
|
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts (1 errors) ====
|
|
for (let v of []) {
|
|
v;
|
|
for (let v of [v]) {
|
|
~
|
|
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
|
var x = v;
|
|
v++;
|
|
}
|
|
} |