add traceur test suite
This commit is contained in:
5
test/fixtures/traceur/Destructuring/ArrayPatternWithCoverInitializedName.js
vendored
Normal file
5
test/fixtures/traceur/Destructuring/ArrayPatternWithCoverInitializedName.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var x, y;
|
||||
[x, {y = 1}] = [0, {}];
|
||||
|
||||
assert.equal(x, 0);
|
||||
assert.equal(y, 1);
|
||||
Reference in New Issue
Block a user