How much sugar do classes need?
jaz at bu.edu
Tue Dec 2 11:54:36 PST 2008
On Tue, Dec 2, 2008 at 2:35 PM, Jon Zeppieri <jaz at bu.edu> wrote:
> ... I do want to
> point out, however, that one important combination is omitted in
> David-Sarah's proposal (modifier names aside). Private instance
> variables would likely be represented as non-configurable,
> non-enumerable, yet writable properties. I'm guessing that 'x' and
> 'y' (which are suggested by, but left out of the examples above) would
> fit that description.
OK -- I just revisited the older messages in the thread. 'x' and 'y'
are lexically bound (by the constructor function). So, ignore the
More information about the Es-discuss