diff --git a/test/fixtures/transformation/let-scoping/hoisting/expected.js b/test/fixtures/transformation/let-scoping/hoisting/expected.js index f8c25911e4..a868d5a90b 100644 --- a/test/fixtures/transformation/let-scoping/hoisting/expected.js +++ b/test/fixtures/transformation/let-scoping/hoisting/expected.js @@ -1,12 +1,12 @@ "use strict"; for (var _iterator = [1, 2, 3][Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { - var i = _step.value; var x; - (function (i) { + (function () { + var i = _step.value; x = 5; fns.push(function () { return i * x; }); - })(i); + })(); }