Extended Object Literals to review

Jorge jorge at jorgechamorro.com
Mon Mar 14 11:29:44 PDT 2011


On 14/03/2011, at 18:32, P T Withington wrote:
> On 2011-03-13, at 18:15, Juan Ignacio Dopazo wrote:
>> 
>> 
>> The idea behind it was to be able to walk down the prototype chain by doing
>> o.constructor.prototype.contructor.proto... But then I realized that's not
>> the case even in today's javascript.
> 
> I agree that we need this.  (...)

Isn't that the purpose of Object.getPrototypeOf() ?
-- 
Jorge.


More information about the es-discuss mailing list