Do we really need the [[HasOwnProperty]] internal method and hasOwn trap

Brandon Benvie brandon at brandonbenvie.com
Mon Nov 12 02:25:37 PST 2012


Shouldn't it be the reverse, based on the removal of
getPropertyDescriptor/Names? The proxy controls what i's [[Prototype]] is
which indirectly directs how non-own lookups proceed. The functionality of
`has` can (and usually should) be derived from proto-walking hasOwn until
true or null.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121112/f5b19fd0/attachment.html>


More information about the es-discuss mailing list