* fix: parameter expression closure should not have access to the declaration inside function body * fix: renameVisitor should skip when a pattern is a scope * address review comments
9 lines
82 B
JavaScript
9 lines
82 B
JavaScript
let a = "outside";
|
|
|
|
function k([{
|
|
g = a
|
|
}]) {
|
|
let z = "inside";
|
|
return g;
|
|
}
|