Files
babel/test/fixtures/traceur/Destructuring/DefaultParams.js
Sebastian McKenzie 6a35bdb42b add traceur test suite
2015-01-04 19:40:09 +11:00

5 lines
78 B
JavaScript

function f([x] = [1], {y} = {y: 2}) {
return x + y;
}
assert.equal(3, f());