mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
286 B
TypeScript
14 lines
286 B
TypeScript
//// [tests/cases/compiler/anonymousClassExpression1.ts] ////
|
|
|
|
//// [anonymousClassExpression1.ts]
|
|
function f() {
|
|
return typeof class {} === "function";
|
|
}
|
|
|
|
//// [anonymousClassExpression1.js]
|
|
"use strict";
|
|
function f() {
|
|
return typeof class {
|
|
} === "function";
|
|
}
|