ES6 doesn't need opt-in

Gavin Barraclough barraclough at apple.com
Tue Jan 3 16:50:29 PST 2012


On Jan 3, 2012, at 4:42 PM, Brendan Eich wrote:

> On Jan 3, 2012, at 4:38 PM, Allen Wirfs-Brock wrote:
> 
>>> ArrayBindingPattern :
>>> 	[ Elision<opt> BindingRestElement<opt> ]
>>> 	[ BindingElementList , Elision<opt> BindingRestElement<opt> ]
>> 
>> It's a grammar bug.  Thanks for the proof reading...
> 
> The final <opt> cited above is the bug, right?
> 
> The first right-hand side still is enough to produce the [x] pattern.
> 
> /be


I assumed the bug was the presence of a literal comma?

G.



More information about the es-discuss mailing list