add traceur test suite
This commit is contained in:
5
test/fixtures/traceur/Destructuring/FunctionObjectPattern.js
vendored
Normal file
5
test/fixtures/traceur/Destructuring/FunctionObjectPattern.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
function f({a, b: {c}}, d) {
|
||||
return [a, c, d];
|
||||
}
|
||||
|
||||
assertArrayEquals([1, 2, 3], f({a: 1, b: {c: 2}}, 3));
|
||||
Reference in New Issue
Block a user