Files
overlookmotelandGitHub cb92aa4934 Fix scope of computed method keys (#12812)
* Fix scope of computed method keys

* Test for nested computed keys

* Fix scope.rename with computed method keys

* Optional chaining tests
2021-02-19 02:36:34 +01:00

16 lines
200 B
JavaScript

let a = "outside";
class C {
static get [
class D {
static get [a]() {
let a = "inside";
return a;
}
}.outside
]() {
let a = "middle";
return a;
}
}