cyril.auburtin at gmail.com (2016-06-21T12:26:56.458Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];` array destructuring, or `[a,,b]` array creation,
I think it could be interesting to let a field empty in function arguments
```
[1,2,3,4].map( (,i) => i )
Array.from({length:10}, (,i) => i )
function test(a,,b) { }
var x = test(a,,b)
```
by altering the current syntax that doesn't allow it
Most often people use `_` as a way to mark ignored fields, but when (more rarely) there
are more than 1 ignored field, you need another identifier. A standard way would be
interesting rathercyril.auburtin at gmail.com (2016-06-04T18:50:06.812Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];` array destructuring, or `[a,,b]` array creation,
I think it could be interesting to let a field empty in function arguments
```
[1,2,3,4].map( (,i) => i )
Array.from({length:10}, (,i) => i )
function test(a,,b) { }
var x = test(a,,b)
```
by altering the current syntax that doesn't allow it
Most often use `_` as a way to mark ignored fields, but when (more rarely) there
are more than 1 ignored field, you need another identifier. A standard way would be
interesting rathercyril.auburtin at gmail.com (2016-06-04T18:49:50.315Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];` array destructuring, or `[a,,b]` array creation,
I think it could be interesting to let a field empty in function arguments
```
[1,2,3,4].map( (,i) => i )
Array.from({length:10}, (,i) => i )
function test(a,,b) { }
var x = test(a,,b);
```
by altering the current syntax that doesn't allow it
Most often use `_` as a way to mark ignored fields, but when (more rarely) there
are more than 1 ignored field, you need another identifier. A standard way would be
interesting rathercyril.auburtin at gmail.com (2016-06-04T18:49:10.167Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];` array destructuring, or `[a,,b]` array creation,
I think it could be interesting to let a field empty in function arguments
`[1,2,3,4].map( (,i) => i )`
`Array.from({length:10}, (,i) => i )`
`function test(a,,b) { }`
`var x = test(a,,b);`
by altering the current syntax that doesn't allow it
Most often use `_` as a way to mark ignored fields, but when (more rarely) there
are more than 1 ignored field, you need another identifier. A standard way would be
interesting rathercyril.auburtin at gmail.com (2016-06-04T18:44:10.342Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];`
I think it could be interesting to let a field empty in function arguments
`[1,2,3,4].map( (,i) => i )`, `Array.from({length:10}, (,i) => i )`
`function test(a,,b) { }`, `var x = test(a,,b);` similarly to arrays again (`[a,,b]`)
(but that would alter the current parsing, that doesn't allow it)
Currently I often use `_` as a way to mark ignored fields, but when there
are more than 1 you need another identifier. A standard way would be
interesting rathercyril.auburtin at gmail.com (2016-06-04T09:28:24.864Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];`
I think it could be interesting to let a field empty in function arguments
`[1,2,3,4].map( (,i) => i )`, `Array.from({length:10}, (,i) => i )`
`function test(a,,b) { }` similarly to arrays again (`[a,,b]`)
(but that would alter the current parsing, that doesn't allow it)
Currently I often use `_` as a way to mark ignored fields, but when there
are more than 1 you need another identifier. A standard way would be
interesting rathercyril.auburtin at gmail.com (2016-06-04T09:28:10.983Z)
Similarly to:
`var [,x,,y] = [1,2,3,4,5,6];`
I think it could be interesting to let a field empty in function arguments
`[1,2,3,4].map( (,i) => i )`, `Array.from({length:10}, (,i) => i )`
`function test(a,,b) { }` similarly to arrays again (`[a,,,b]`)
(but that would alter the current parsing, that doesn't allow it)
Currently I often use `_` as a way to mark ignored fields, but when there
are more than 1 you need another identifier. A standard way would be
interesting rather
Similarly to: `var [,x,,y] = [1,2,3,4,5,6];` I think it could be interesting to let a field empty in function arguments `[1,2,3,4].map( (,i) => i )`, `Array.from({length:10}, (,i) => i )` `function test(a,,b) { }` (but that would alter the current parsing, that doesn't allow it) Currently I often use `_` as a way to mark ignored fields, but when there are more than 1 you need another identifier. A standard way would be interesting rather -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160529/fd17182c/attachment.html>