On Aug 27, 2011, at 3:06 PM, Oliver Hunt wrote: > On Aug 27, 2011, at 2:42 PM, Dmitry Soshnikov wrote: > >> On Sat, Aug 27, 2011 at 11:53 PM, John-David Dalton >> <[email protected]> wrote: >> > No. It's the global object what is the base (more precisely, its DOM's >> > proxy wrapper -- `window` or either the global itself), but not an >> > environment record. >> >> So basically the only kind of MemberExpression allowed is a >> PrimaryExpression? >> >> >> If it will be easier for you to remember (and what is actually is written in >> the reference I gave), _only_ `eval` call written in the following syntactic >> form is direct: >> >> eval(...) >> >> Only. _All_ the other cases are indirect. > > I have a vague recollection that *monkey treats <global object>.eval(..) as a > direct eval?
Fixed a while ago: https://bugzilla.mozilla.org/show_bug.cgi?id=495325 Firefox 4 and up. /be
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

