mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
385 B
TypeScript
19 lines
385 B
TypeScript
//// [tests/cases/compiler/classExpressionWithStaticPropertiesES61.ts] ////
|
|
|
|
//// [classExpressionWithStaticPropertiesES61.ts]
|
|
var v = class C {
|
|
static a = 1;
|
|
static b = 2;
|
|
static c = C.a + 3;
|
|
};
|
|
|
|
//// [classExpressionWithStaticPropertiesES61.js]
|
|
"use strict";
|
|
var _a;
|
|
var v = (_a = class C {
|
|
},
|
|
_a.a = 1,
|
|
_a.b = 2,
|
|
_a.c = _a.a + 3,
|
|
_a);
|