mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Fix scope of computed method keys * Test for nested computed keys * Fix scope.rename with computed method keys * Optional chaining tests
16 lines
183 B
JavaScript
16 lines
183 B
JavaScript
let a = "outside";
|
|
|
|
const obj = {
|
|
get [
|
|
{
|
|
get [a]() {
|
|
let a = "inside";
|
|
return a;
|
|
}
|
|
}.outside
|
|
]() {
|
|
let a = "middle";
|
|
return a;
|
|
}
|
|
};
|