Re: Errors in syntax for array destructuring?

2010-10-15 Thread Brendan Eich
On Oct 15, 2010, at 11:08 AM, Mike Shaver wrote: > On Fri, Oct 15, 2010 at 8:34 AM, Brendan Eich wrote: >> On Oct 14, 2010, at 11:47 PM, Dominic Cooney wrote: >> >>> On the harmony:destructuring page >>> it >>> specifies this syntax

Re: Errors in syntax for array destructuring?

2010-10-15 Thread Mike Shaver
On Fri, Oct 15, 2010 at 8:34 AM, Brendan Eich wrote: > On Oct 14, 2010, at 11:47 PM, Dominic Cooney wrote: > >> On the harmony:destructuring page >> it >> specifies this syntax for patterns: >> >> Pattern ::= "{" (Field ("," Field)*)*

Re: Errors in syntax for array destructuring?

2010-10-15 Thread Brendan Eich
On Oct 14, 2010, at 11:47 PM, Dominic Cooney wrote: > On the harmony:destructuring page > it > specifies this syntax for patterns: > > Pattern ::= "{" (Field ("," Field)*)* "}" > | "[" ((Pattern | LValue)? ",")* "]" > Field

Errors in syntax for array destructuring?

2010-10-14 Thread Dominic Cooney
On the harmony:destructuring page it specifies this syntax for patterns: Pattern ::= "{" (Field ("," Field)*)* "}" | "[" ((Pattern | LValue)? ",")* "]" Field ::= Identifier (":" (Pattern | LValue))? LValue ::= Is it inte