On 3/30/08, Jeff Dyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I've updated the ES4 grammar files linked from
>
>   http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar

Thanks, Jeff.

- Allowing splat expressions in array literals is a nice addition, but
restricting them to the end of element lists seems unnecessary.  Is
the purpose uniformity between array literals and array patterns?

- (Not entirely a grammar issue.)  What is the intended effect of:

var o = { get x() { ... } }
delete o.x

Currently the RI allows the deletion.  That seems fine, but the
grammar doesn't permit:

({ const get x() { ... } })

Could FieldKind be allowed before 'get' or 'set' in a LiteralField?

-Jon
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to