We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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