Approach of new Object methods in ES5

Brendan Eich brendan at
Sat Apr 17 09:15:45 PDT 2010

On Apr 17, 2010, at 11:04 AM, Brendan Eich wrote:

> On Apr 17, 2010, at 7:25 AM, Dmitry Soshnikov wrote:
>> Excuse me, seems I missed something. I thought first that you  
>> mentioned them in "private" viewpoint, but in this sentence you say  
>> that "names" will help to place standard methods/properties in  
>> built-ins prototypes avoiding naming collisions. But how will it  
>> look? Can you show an example, it is very interesting.
> (function () {
>  private getPrototypeName;
>  Object.defineProperty(Object.prototype, getPrototypeName,

Er, strike the -Name suffix:

  private getPrototype;
  Object.defineProperty(Object.prototype, getPrototype,

/be (somewhat jetlagged at JSConf 2010)

More information about the es-discuss mailing list