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

Brandon Benvie brandon at
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: <>

More information about the es-discuss mailing list