diff --git a/lib/6to5/transformation/transformers/es6-destructuring.js b/lib/6to5/transformation/transformers/es6-destructuring.js index 43625f46b9..2632fb246f 100644 --- a/lib/6to5/transformation/transformers/es6-destructuring.js +++ b/lib/6to5/transformation/transformers/es6-destructuring.js @@ -268,6 +268,7 @@ exports.VariableDeclaration = function (node, parent, file, scope) { } if (!t.isProgram(parent) && !t.isBlockStatement(parent)) { + declar = null; for (i in nodes) { node = nodes[i];