Re:Node v8.0.0 Released
by koolba on Tuesday May 30, 2017 @07:23PM
(#14449383)
I suppose but that's usually an indication that an object would be more apt. If you have enough parameters that it needs to be wrapped, they're probably hard to track too.
[ Parent
| on HN ]
Well no, since you can use object destructuring.
const fn = ( { arg1 = '', arg2 = [], arg3 = true } = {} ) => { }