2015-03-06 00:21:00 +01:00
|
|
|
tests/cases/conformance/statements/for-ofStatements/ES5For-of22.ts(3,5): error TS2304: Cannot find name 'console'.
|
2015-03-05 04:33:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of22.ts (1 errors) ====
|
|
|
|
for (var x of [1, 2, 3]) {
|
|
|
|
let _a = 0;
|
|
|
|
console.log(x);
|
2015-03-06 00:21:00 +01:00
|
|
|
~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'console'.
|
2015-03-05 04:33:49 +01:00
|
|
|
}
|