swc/crates/swc_ecma_parser/tests/tsc/classExpressionLoop.ts

7 lines
96 B
TypeScript
Raw Normal View History

let arr = [];
for (let i = 0; i < 10; ++i) {
arr.push(class C {
prop = i;
});
}