mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
|
|
// These syntaxes should be transpiled:
|
|
// static {} / ??= / #self in / C?.#self
|
|
// The class declaration and the static private property should not be transpiled
|
|
class C {
|
|
static #self = C;
|
|
static {
|
|
C.#self ??= #self in C?.#self;
|
|
}
|
|
}
|