Brendan Eich wrote:
> * No rationale responding to the thread containing this message:
> that questions the wisdom of getPrototypeOf. The other rationales are 
> helpful, the lack of one responding to this public thread questioning 
> essentially the same design element is a lack -- what do you think?

The motivation for these methods is to allow Ajax libraries and the Caja 
to harden the environment. Such a library can use and them remove these 
disallowing access by guest code.

> * Did you consider prototype's Object.extend method:
> Object.extend = function(destination, source) {
>   for (var property in source)
>     destination[property] = source[property];
>   return destination;
> };

Yes we did.
Es4-discuss mailing list

Reply via email to