remap UpdateExpression in module exports - closes #334

This commit is contained in:
Sebastian McKenzie
2014-12-28 01:00:53 +11:00
parent e6ac5eccd0
commit 601bbb86cd
15 changed files with 80 additions and 23 deletions

View File

@@ -1,7 +1,9 @@
export var test = 2;
test = 5;
test++;
(function () {
var test = 2;
test = 3;
test++;
})();

View File

@@ -8,10 +8,12 @@
"use strict";
var test = exports.test = 2;
test = 5;
test = exports.test = 5;
test = exports.test += 1;
(function () {
var test = 2;
test = 3;
test++;
})();
});