with

Brendan Eich brendan at mozilla.com
Thu Nov 17 14:30:55 PST 2011


On Nov 17, 2011, at 2:29 PM, David Herman wrote:

> On Nov 17, 2011, at 2:15 PM, Brendan Eich wrote:
> 
>> On Nov 17, 2011, at 2:08 PM, David Herman wrote:
>> 
>>>> Prototype extension or delegation is not the same as FRU at all -- the delegating object can shadow proto-properties,
>>> 
>>> That's precisely what makes it analogous to FRU. You functionally update (i.e., update without mutating) by shadowing.
>> 
>> Mutating [[Prototype]] is still mutation :-P.
> 
> Who's mutating [[Prototype]]? This is Object.create.

I was thinking u.__proto__ = o :-P.

/be



More information about the es-discuss mailing list