mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
16 lines
220 B
TypeScript
16 lines
220 B
TypeScript
// @target: esnext, es2022, es2015, es5
|
|
|
|
function foo () {
|
|
return class {
|
|
static foo = 1;
|
|
static {
|
|
const c = class {
|
|
static bar = 2;
|
|
static {
|
|
// do
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|