mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added test for immediately invoked class expression.
This commit is contained in:
1 parent
0c4ac799d9
commit
e4c5676f2e
1 file changed
+5
@@ -0,0 +1,5 @@
|
||||
new class {
|
||||
hi() {
|
||||
return "Hi!";
|
||||
}
|
||||
}().hi();
|
||||
Reference in new issue
Block a user