19 lines
326 B
JavaScript
19 lines
326 B
JavaScript
|
//// [ES5For-of7.ts]
|
||
|
for (var w of []) {
|
||
|
var x = w;
|
||
|
}
|
||
|
|
||
|
for (var v of []) {
|
||
|
var x = [w, v];
|
||
|
}
|
||
|
|
||
|
//// [ES5For-of7.js]
|
||
|
for (var w, _i = 0, _a = []; _i < _a.length; _i++) {
|
||
|
w = _a[_i];
|
||
|
var x = w;
|
||
|
}
|
||
|
for (var v, _i_1 = 0, _a_1 = []; _i_1 < _a_1.length; _i_1++) {
|
||
|
v = _a_1[_i_1];
|
||
|
var x = [w, v];
|
||
|
}
|