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

8 lines
77 B
JavaScript

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