function invocation with just commas for explicit undefined optional arguments in the middle

Boris Zbarsky bzbarsky at
Fri Nov 1 15:22:59 UTC 2019

On 11/1/19 5:10 AM, Cyril Auburtin wrote:
> yes true, it's even more annoying with eslint, you have to configure it 
> with for 
> example

That's talking about function _declarations_, whereas the original 
proposal in this thread is about function _invocations_.

> To be fair I considered this case mostly for `Array.from({length: n}, 
> (,i) => i)`

Right, that's a function declaration, not invocation.


More information about the es-discuss mailing list