17 lines
329 B
TypeScript
17 lines
329 B
TypeScript
//// [ES5For-of20.ts]
|
|
for (let v of []) {
|
|
let v;
|
|
for (let v of [v]) {
|
|
const v;
|
|
}
|
|
}
|
|
|
|
//// [ES5For-of20.js]
|
|
for (var _i = 0, _a = []; _i < _a.length; _i++) {
|
|
var v = _a[_i];
|
|
var v_1;
|
|
for (var _b = 0, _c = [v_2]; _b < _c.length; _b++) {
|
|
var v_2 = _c[_b];
|
|
var v_3;
|
|
}
|
|
}
|