On Tue, Nov 25, 2014 at 5:45 PM, Allen Wirfs-Brock
<[email protected]> 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"
  document.open("text/html")
  console.log(self.x) // undefined
}


-- 
https://annevankesteren.nl/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to