Are internal data properties ever inherited?

Brendan Eich brendan at mozilla.com
Tue Oct 8 08:24:08 PDT 2013


The phrase needs to drop the p-word, then -- post haste!

/be

On Oct 8, 2013, at 8:10 AM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:

> Yes and no! That's really the wrong way to think about it.  Internal data properties are *not* object properties.  The definition of properties in http://people.mozilla.org/~jorendorff/es6-draft.html#sec-6.1.7 does not apply to them.  The concepts of own and inherited as defined in that section does not apply to them.  They are basically private per object state.  You will be on the road to confusion if you think about them as simply a specialization of ECMAScript object properties. 
> 
> "Internal" implies "this is not an property".;
> 
> Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131008/ecc81f28/attachment.html>


More information about the es-discuss mailing list