9 lines
225 B
TypeScript
9 lines
225 B
TypeScript
//// [ES5For-ofTypeCheck5.ts]
|
|
var union: string | number[];
|
|
for (var v of union) { }
|
|
|
|
//// [ES5For-ofTypeCheck5.js]
|
|
var union;
|
|
for (var _i = 0, union_1 = union; _i < union_1.length; _i++) {
|
|
var v = union_1[_i];
|
|
}
|