[[Invoke]] and implicit method calls

Brandon Benvie bbenvie at mozilla.com
Fri Sep 20 16:29:29 PDT 2013


On 9/20/2013 6:27 PM, Brandon Benvie wrote:
> Actually, taking the precedent of removing "getPropertyDescriptor", 
> it's "has" that would be removed. The implementation of [[Has]] can 
> easily walk the [[GetPrototype]] chain calling "hasOwn" on each until 
> true or [[GetPrototype]] returns null. In fact, some agreed for a 
> short time to *remove* the "has" trap specifically for this reason, 
> but it was added back.

Better link: 
https://mail.mozilla.org/pipermail/es-discuss/2012-November/026286.html


More information about the es-discuss mailing list