mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|