Relationship between globals, Realms, and global environment records

Anne van Kesteren annevk at
Tue Nov 25 02:14:44 PST 2014

On Tue, Nov 25, 2014 at 1:51 AM, Allen Wirfs-Brock
<allen at> wrote:
> There is definite a 1:1:1 relationship between a global object, realmRec,
> global environment record.  And  ES views those relationships are immutable.
> You can't just change the global object of a realmRec or give it a different
> global environment record after it has been initialized.

How would you test whether all three of them have changed?

> Note that the ES6 spec. defines InitializeFirstRealm [1] that define how the
> first Realm gets created.  Creating additional realms would have to perform
> a similar set of steps.


More information about the es-discuss mailing list