Files
test-repo/tests/format/js/babel-plugins/class-static-block.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
154 B
JavaScript
Raw Normal View History

2020-10-23 20:09:07 +09:00
class C {
static #x = 42;
static y;
static {
try {
this.y = doSomethingWith(this.#x);
} catch {
this.y = "unknown";
}
}
}