* Fix scope of computed method keys * Test for nested computed keys * Fix scope.rename with computed method keys * Optional chaining tests
10 lines
137 B
JavaScript
10 lines
137 B
JavaScript
module.exports = function() {
|
|
return {
|
|
visitor: {
|
|
Program(path) {
|
|
path.scope.rename("a", "z");
|
|
}
|
|
}
|
|
};
|
|
};
|