mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Fix scope of function body when var redeclares param * Fix empty var declarations * Apply suggestions
6 lines
72 B
JavaScript
6 lines
72 B
JavaScript
function foo({a, b}) {
|
|
var a = 3;
|
|
var c = 2;
|
|
var d = a + b + c;
|
|
}
|