add member expression destructuring test
This commit is contained in:
1
test/fixtures/transformation/destructuring/member-expression/actual.js
vendored
Normal file
1
test/fixtures/transformation/destructuring/member-expression/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
[this.foo, this.bar] = [1, 2];
|
||||
4
test/fixtures/transformation/destructuring/member-expression/expected.js
vendored
Normal file
4
test/fixtures/transformation/destructuring/member-expression/expected.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
var _ref = [1, 2];
|
||||
this.foo = _ref[0];
|
||||
this.bar = _ref[1];
|
||||
Reference in New Issue
Block a user