some generator issues
liorean at gmail.com
Wed May 9 08:51:31 PDT 2007
> > Lars T Hansen wrote:
> >> this generator
> >> names the generator object as the proposed arguments.generator would.
> On May 8, 2007, at 6:09 PM, Yuh-Ruey Chen wrote:
> > I like it. What's the operator precedence?
On 09/05/07, Brendan Eich <brendan at mozilla.org> wrote:
> I suggested primary, so one can write |this function.length| instead
> of having to parenthesize, or unary, by analogy to delete, void, etc.
> (so parentheses are required for a . or similar member operator).
Hmm. If unary operator, what does this do?
Is that equivalent to the following:
or - in statement context - to this:
or - in expression context - syntax error, because:
directly followed by an object literal doesn't make sense?
Personally I would prefer it to be a primary expression.
David "liorean" Andersson
More information about the Es4-discuss