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)
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to