News for hackers. Stuff that matters.
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.
Re:Node v8.0.0 Released by piezoney on Tuesday May 30, 2017 @10:59PM (#14450147)
Well no, since you can use object destructuring.

const fn = ( { arg1 = '', arg2 = [], arg3 = true } = {} ) => { }

Re:Node v8.0.0 Released by scottmf on Wednesday May 31, 2017 @04:49AM (#14451145)
But isn't this already valid with trailing commas?