remove es20xx prefixes from plugins and rename folders (#6575)
This commit is contained in:
3
packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/array/actual.js
vendored
Normal file
3
packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/array/actual.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
var [a, [b], [c]] = ["hello", [", ", "junk"], ["world"]];
|
||||
[a, [b], [c]] = ["hello", [", ", "junk"], ["world"]];
|
||||
;
|
||||
9
packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/array/expected.js
vendored
Normal file
9
packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/array/expected.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
var a = "hello",
|
||||
_ref = [", ", "junk"],
|
||||
b = _ref[0],
|
||||
c = "world";
|
||||
a = "hello";
|
||||
var _ref2 = [", ", "junk"];
|
||||
b = _ref2[0];
|
||||
c = "world";
|
||||
;
|
||||
Reference in New Issue
Block a user