mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
255 B
TypeScript
16 lines
255 B
TypeScript
//// [tests/cases/compiler/constInClassExpression.ts] ////
|
|
|
|
//// [constInClassExpression.ts]
|
|
let C = class {
|
|
const a = 4;
|
|
};
|
|
|
|
|
|
//// [constInClassExpression.js]
|
|
"use strict";
|
|
let C = class {
|
|
constructor() {
|
|
this.a = 4;
|
|
}
|
|
};
|