Skip to content

Commit ebe70c3

Browse files
committed
[core][rewriter] add destructuring "test case" file
1 parent e817278 commit ebe70c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rewriter/native/destructuring.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
({ location } = self);
2+
({ location: a } = self);
3+
({ location = parent } = self);
4+
({ ["location"]: a } = self);
5+
({ ["location"]: a = parent } = self);
6+
({ parent: { location: x } } = self);
7+
({ parent: { location: x = parent } } = self);
8+
({ parent: { location } } = self);

0 commit comments

Comments
 (0)