fix tests to reflect new destructuring statement behaviour
This commit is contained in:
@@ -1 +1,2 @@
|
||||
[a, b] = f();
|
||||
;
|
||||
|
||||
@@ -22,3 +22,4 @@ var _ref2 = _slicedToArray(_ref, 2);
|
||||
|
||||
a = _ref2[0];
|
||||
b = _ref2[1];
|
||||
;
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
[foo.foo, foo.bar] = [1, 2];
|
||||
;
|
||||
|
||||
@@ -22,3 +22,4 @@ var _ref2 = _slicedToArray(_ref, 2);
|
||||
|
||||
foo.foo = _ref2[0];
|
||||
foo.bar = _ref2[1];
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user