Existential Operator / Null Propagation Operator

Brendan Eich brendan at mozilla.org
Wed Apr 8 01:23:12 UTC 2015


Ron Buckton wrote:
>> >  The reduce/reduce conflict recognizing a left sentential form '[' E ']'
>> >  vs. M '?' '[' E ']' shows the fatal ambiguity.
>> >  
>> >  /be
>
> There is also ambiguity due to ASI vs. a ConditionalExpression:
>
> ```
> obj ? [ expr ]
> :label
> ```
>
> Ron

Colon goes after label :-P. But the problem is bounded lookahead, 
ideally k=1. We are not specifying backtracking...

/be


More information about the es-discuss mailing list