restructure test directory
This commit is contained in:
1
test/fixtures/syntax/destructuring/object-advanced/actual.js
vendored
Normal file
1
test/fixtures/syntax/destructuring/object-advanced/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var {topLeft: {x: x1, y: y1}, bottomRight: {x: x2, y: y2}} = rect;
|
||||
4
test/fixtures/syntax/destructuring/object-advanced/expected.js
vendored
Normal file
4
test/fixtures/syntax/destructuring/object-advanced/expected.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
var x1 = rect.topLeft.x;
|
||||
var y1 = rect.topLeft.y;
|
||||
var x2 = rect.bottomRight.x;
|
||||
var y2 = rect.bottomRight.y;
|
||||
Reference in New Issue
Block a user