* 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
7 lines
82 B
JavaScript
7 lines
82 B
JavaScript
let a = "outside";
|
|
|
|
function f(g = () => a) {
|
|
let z = "inside";
|
|
return g();
|
|
}
|