Nannying (was: Array comprehension syntax)
rossberg at google.com
Wed Sep 26 03:25:09 PDT 2012
On 26 September 2012 00:23, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> On Sep 25, 2012, at 1:30 PM, Brendan Eich wrote:
>> Allen Wirfs-Brock wrote:
>>> I think we should go the all AssignmentExpression route. It avoid ArrayLiteral-like comma confusion in all three positions. It is also a simpler set of rules to teach and remember.
I'm with Allen. We should not have unbracketed commas in an array
literal for anything else but separating elements. For both
consistency and future proofness.
More information about the es-discuss