Fix issue semi-colon gets inserted unnecessarily (#5749)

* Fix issue semi-colon gets inserted unnecessarily

* Simplify if condition a bit
This commit is contained in:
Buu Nguyen
2017-05-19 13:54:51 -07:00
committed by Henry Zhu
parent 2788a914f6
commit c474fd48e1
4 changed files with 13 additions and 6 deletions

View File

@@ -0,0 +1 @@
if (true) [a, b] = [b, a];

View File

@@ -0,0 +1,6 @@
if (true) {
var _ref = [b, a];
a = _ref[0];
b = _ref[1];
_ref;
}