3 lines
No EOL
70 B
TypeScript
3 lines
No EOL
70 B
TypeScript
class C {}
|
|
var x = new C(); // should be ok
|
|
new x(); // should error
|