On 16/04/2008, Waldemar Horwat <[EMAIL PROTECTED]> wrote:
> There is also another ambiguity in the grammar:
>
>  var {x:y, p:q} = expr;
>
>  is both an assignment expression statement and a destructuring variable 
> binding statement.

An assignment to an object literal seems like total bogus though - LHS
of an assignment should be a storage location and not an object. So
logically it makes sense only as a destructuring assignment.
-- 
David "liorean" Andersson
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to