documentation/test/fixture/infer-params.input.js
Tom MacWright cefe68908b Infer destructured params. Fixes #170
Waiting on an answer in https://github.com/babel/babel/issues/2543
because tests will currently fail.
2015-10-18 18:52:17 -04:00

8 lines
162 B
JavaScript

/**
* This function returns the number one.
* @param {number} b the second param
*/
function addThem(a, b, c, { d, e, f }) {
return a + b + c + d + e + f;
}