Files
tsgo/testdata/baselines/reference/submodule/conformance/classStaticBlock4(target=esnext).js

33 lines
490 B
TypeScript

//// [tests/cases/conformance/classes/classStaticBlock/classStaticBlock4.ts] ////
//// [classStaticBlock4.ts]
class C {
static s1 = 1;
static {
this.s1;
C.s1;
this.s2;
C.s2;
}
static s2 = 2;
static ss2 = this.s1;
}
//// [classStaticBlock4.js]
"use strict";
class C {
static s1 = 1;
static {
this.s1;
C.s1;
this.s2;
C.s2;
}
static s2 = 2;
static ss2 = this.s1;
}