mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
258 B
TypeScript
17 lines
258 B
TypeScript
//// [tests/cases/compiler/forInStatement3.ts] ////
|
|
|
|
//// [forInStatement3.ts]
|
|
function F<T>() {
|
|
var expr: T;
|
|
for (var a in expr) {
|
|
}
|
|
}
|
|
|
|
//// [forInStatement3.js]
|
|
"use strict";
|
|
function F() {
|
|
var expr;
|
|
for (var a in expr) {
|
|
}
|
|
}
|