back in the topic ... about evaluation: Function('return this')(); returns
the global object with or without use strict around. This is actually nice,
since this one was a security problem introduced when somebody decided that
`this` without an explicit context should have been undefined. Now it is
possible to retrieve the global object as long as Function is the original
constructor.
Said that, I believe this is a bug in every browser. (Webkit, FF, Chrome
suffering)Please do not fix, thanks :-) On Fri, Nov 16, 2012 at 2:50 PM, Andrea Giammarchi < [email protected]> wrote: > love this answer, thanks! > > > On Fri, Nov 16, 2012 at 2:47 PM, Jeff Walden <[email protected]> wrote: > >> On 11/16/2012 02:37 PM, Andrea Giammarchi wrote: >> > what I am saying: arguments won't disappear in 5+ years, neither will >> caller ... is my crystal ball correct? >> >> It's not necessary for these things to disappear completely for us to >> derive value from these decisions. It's only necessary for good code, that >> wants to be performant, to not use them. >> >> Jeff >> > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

