Protected properties using Name objects

Tom Van Cutsem at
Mon Jun 18 10:45:20 PDT 2012

I agree with David: is this use case sufficiently common/needed to require
such deep extensions to Javascript's object model? Especially the interplay
between writable & configurable is already complex. Adding more knobs
should not be done lightly.

Accessors seem like a fine abstraction for "protected" attributes. I can't
imagine their overhead to be prohibitive?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list