Boris Zbarsky wrote:
On 12/30/12 10:31 AM, Brandon Benvie wrote:
The problem I see with the accessor model is that it's attempting to use
what's now being referred to in recent ES6 specs as "Ordinary" object
semantics, when the functionality is absolutely of exotic functions.
Can you please define "exotic functions"?
Think ES1-5 "host objects".
How is the innerHTML getter "exotic", exactly?
It isn't.
Brandon may have assumed more magic in more of the DOM than there is, as
you note:
Ordinary objects only have accessors to describe "interesting"
non-data properties.
Right, which is many (but not all) properties in the DOM.
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss