On 4/14/11, Brendan Eich <[email protected]> wrote:
> There is no ambiguity problem with ? followed by . and then (with whitespace > allowed, of course) an IdentifierName. We need the lookahead to an > identifier-name starting-character to avoid this: > > var tolerance = big ?.1:.01; > > So we can't simply maximum-munch '?.'. What about square-bracket property accessors? Is [propertyName] an Array or is it the new conditional property access with square-brackets? var p = o.v ? [propertyName]; -- Garrett _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

