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

8 lines
124 B
JavaScript

class C {
static foo() {}
static {
"use strict"; // will not be parsed as directives
this.bar = this.foo;
}
}