...@gmail.com
Cc: es-discuss es-discuss@mozilla.org
Date: Sun, 06 Jul 2014 12:07:09 +0400
Subject: Re: Trailing comma for function arguments and call parameters
In fact, how about the same syntax for arrays and function calls? With
trailing commas and elisions?
So foo(1,,3,,) would
-discuss es-discuss@mozilla.org
Date: Sun, 06 Jul 2014 12:07:09 +0400
Subject: Re: Trailing comma for function arguments and call parameters
In fact, how about the same syntax for arrays and function calls? With
trailing commas and elisions?
So foo(1,,3,,) would be an alias for foo(1
: Trailing comma for function arguments and call parameters
In fact, how about the same syntax for arrays and function calls?
With trailing commas and elisions?
So foo(1,,3,,) would be an alias for foo(1,undefined,3,undefined) ?
06.07.2014, 11:57, Alex Kocharin a...@kocharin.ru:
Unless
On Tue, Jul 8, 2014 at 8:05 AM, Peter van der Zee e...@qfox.nl wrote:
On Fri, Jul 4, 2014 at 12:52 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
Will it makes sense to standardize a trailing comma for function
arguments,
and call parameters?
Fwiw, it also makes sense in AMD
...@gmail.com
Cc: es-discuss es-discuss@mozilla.org
Date: Sun, 06 Jul 2014 12:07:09 +0400
Subject: Re: Trailing comma for function arguments and call parameters
In fact, how about the same syntax for arrays and function calls? With
trailing commas and elisions?
So foo(1,,3,,) would
On Fri, Jul 4, 2014 at 12:52 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
Will it makes sense to standardize a trailing comma for function arguments,
and call parameters?
Fwiw, it also makes sense in AMD, where the set of dependencies can
grow and the desire to put every module on its
+0400
Subject: Re: Trailing comma for function arguments and call parameters
In fact, how about the same syntax for arrays and function calls? With
trailing commas and elisions?
So foo(1,,3,,) would be an alias for foo(1,undefined,3,undefined) ?
06.07.2014, 11:57, Alex Kocharin
Oliver Hunt wrote:
On Jul 3, 2014, at 3:52 PM, Dmitry Soshnikovdmitry.soshni...@gmail.com wrote:
Hi,
Will it makes sense to standardize a trailing comma for function arguments, and call parameters?
We have it for Array and Object initialisers, and people like using them for long
a trailing comma for function arguments,
and call parameters?
We have it for Array and Object initialisers, and people like using them
for long lists with prediction of new items adding in the future:
```
var modes = [
read,
write,
];
var platforms = {
web,
canvas
in
javascript, I wish for more such bugs really...
04.07.2014, 20:33, Oliver Hunt oli...@apple.com:
On Jul 3, 2014, at 3:52 PM, Dmitry Soshnikov dmitry.soshni...@gmail.com
wrote:
Hi,
Will it makes sense to standardize a trailing comma for function
arguments, and call parameters?
We
My responses are inline.
From: Alex Kocharin a...@kocharin.ru
To: Oliver Hunt oli...@apple.com, Dmitry Soshnikov
dmitry.soshni...@gmail.com
Cc: es-discuss es-discuss@mozilla.org
Date: Sun, 06 Jul 2014 12:07:09 +0400
Subject: Re: Trailing comma for function arguments and call parameters
On Fri, Jul 4, 2014 at 9:33 AM, Oliver Hunt oli...@apple.com wrote:
On Jul 3, 2014, at 3:52 PM, Dmitry Soshnikov dmitry.soshni...@gmail.com
wrote:
Hi,
Will it makes sense to standardize a trailing comma for function
arguments, and call parameters?
We have it for Array and Object
On Jul 3, 2014, at 3:52 PM, Dmitry Soshnikov dmitry.soshni...@gmail.com wrote:
Hi,
Will it makes sense to standardize a trailing comma for function arguments,
and call parameters?
We have it for Array and Object initialisers, and people like using them for
long lists with prediction
Hi,
Will it makes sense to standardize a trailing comma for function arguments,
and call parameters?
We have it for Array and Object initialisers, and people like using them
for long lists with prediction of new items adding in the future:
```
var modes = [
read,
write,
];
var platforms
14 matches
Mail list logo