``` ts var data: any = []; for (let x = 0; x < 10; ++x) { class C { m() { return x + 1; } } data.push(C); } for (let c of data) { console.log(new c().m()); } ``` This code is compiled with no errors and prints 11 10 times in runtime
This code is compiled with no errors and prints 11 10 times in runtime