On Jun 2, 2010, at 10:26 PM, Brendan Eich wrote:

For an expression a[i]j.x,

Sorry, obvious typo adding a 'j' there (keyboard malfunction, and hard to see in the font I'm looking at!). No confusion in the rest:

the ES specs all evaluate a[i], call GetValue on it if a Reference, then make a new Reference with the result as base and 'x' as the propertyName. Only then, depending on whether a[i].x occurs as the left-hand side of assignment or in a RHS expression, e.g., would we PutValue or GetValue.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to