The WHATWG Blog — Defining the WindowProxy, Window, and Location objects

https://blog.whatwg.org/windowproxy-window-and-location

This artchle describe recent changes of WindowProxy, Window and Location.

Easy to understand about the difference between “exotic object” and “ordinary object” in ECMAScritp specification.

  • WindowProxy: exotic object
  • Window: ordinary object

WindowProxy and Location objects were forced to be exotic objects and defined in terms of JavaScript’s “meta-object protocol”




blog comments powered by Disqus