9 lines
202 B
JavaScript
9 lines
202 B
JavaScript
//// [ES5For-ofTypeCheck7.ts]
|
|
var union: string | number;
|
|
for (var v of union) { }
|
|
|
|
//// [ES5For-ofTypeCheck7.js]
|
|
var union;
|
|
for (var _i = 0; _i < union.length; _i++) {
|
|
var v = union[_i];
|
|
}
|