mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
21 lines
209 B
TypeScript
21 lines
209 B
TypeScript
// @target: esnext, es2022, es2015, es5
|
|
|
|
const a = 1;
|
|
const b = 2;
|
|
|
|
class C {
|
|
static {
|
|
const a = 11;
|
|
|
|
a;
|
|
b;
|
|
}
|
|
|
|
static {
|
|
const a = 11;
|
|
|
|
a;
|
|
b;
|
|
}
|
|
}
|