Relationship between globals, Realms, and global environment records

Anne van Kesteren annevk at
Tue Nov 25 08:53:20 PST 2014

On Tue, Nov 25, 2014 at 5:45 PM, Allen Wirfs-Brock
<allen at> wrote:
> I'm simply trying to understand what what is meant when HTML talks about changing the global object/realm/etc.

onload = function() {
  self.x = "test"
  console.log(self.x) // "test""text/html")
  console.log(self.x) // undefined


More information about the es-discuss mailing list