Huáng Jùnliàng 3ccca88178 Parse class static block (#12079)
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 21:16:24 +02:00

18 lines
211 B
JavaScript

class C {
static foo() {}
static {
while (this.foo) {
if (this.foo) {
break;
} else {
continue;
}
}
class C2 {
bar() {
return;
}
}
}
}