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