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
183 B
JavaScript

let a = "outside";
const obj = {
get [
{
get [a]() {
let a = "inside";
return a;
}
}.outside
]() {
let a = "middle";
return a;
}
};