Thanks Dave, Of the 3 use cases you mentioned, I think unique names are probably sufficient for 1 and 3. For the second use case (an inaccessible piece of data associated with an object), would not a weak map also be appropriate?
So far I don't see that the benefit of private names (as opposed to just unique names) outweighs the additional object model complexity. As far as I can tell, all of the use cases for private names can be addressed with unique names and weak maps. Am I wrong? Regards, kevin
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss