On __proto__ as a magical data property

Brendan Eich brendan at mozilla.org
Wed Jul 18 13:48:39 PDT 2012


Brendan Eich wrote:
> Previous-JSC: magic data property handled before any other id lookup 
> logic (right? that's what I'm trying to pin down), not deletable.
>
> SpiderMonkey: magic data property that's really a "native accessor", 
> not reflected as such, and (this part is independent and a one-line 
> change to fix today) not configurable. 

Sorry if the second line was unclear: SpiderMonkey's "native accessor" 
has no lookup priority or hardcoded id in get/set/etc. paths. It's just 
a property on Object.prototype.

/be


More information about the es-discuss mailing list