Erik Arvidsson wrote:
document.forms[0].bar instead of document.forms[0]['bar']
frames.foo instead of frames['foo']

How does Allen's strawman preclude these? You can have .foo and .bar by the usual means, as properties (lazy if proxied). You can alias indexes to them using @elementGet and @elementSet if those hooks are invoked for any bracket-indexed access, whatever the type of the expression in brackets.

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

Reply via email to