Relationship between globals, Realms, and global environment records
Allen Wirfs-Brock
allen at wirfs-brock.com
Tue Nov 25 11:02:47 PST 2014
On Nov 25, 2014, at 10:47 AM, Domenic Denicola wrote:
> From: es-discuss [mailto:es-discuss-bounces at mozilla.org] On Behalf Of Allen Wirfs-Brock
>
>> So by changing the target of the proxy you can change the observed global bindings of IdentifierReferences.
>
> But that's not how browsers behave, as my email's test case shows.
>
I know, I don't see how in you example to rationalize (using ES concepts) that 'self.x' evaluate to undefined and but 'x' evaluates to 'test'.
Allen
More information about the es-discuss
mailing list