13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
//// [anonymousClassExpression1.ts]
|
|
function f() {
|
|
return typeof class {} === "function";
|
|
}
|
|
|
|
//// [anonymousClassExpression1.js]
|
|
function f() {
|
|
return typeof (function () {
|
|
function default_1() {
|
|
}
|
|
return default_1;
|
|
})() === "function";
|
|
}
|