getter and setter inheritance

Mark S. Miller erights at
Sun May 11 09:30:41 PDT 2008

On Fri, May 9, 2008 at 9:49 AM, Lars Hansen <lhansen at> wrote:
>> From: es4-discuss-bounces at
>> [mailto:es4-discuss-bounces at] On Behalf Of liorean
>> 2008/5/9 Lars Hansen <lhansen at>:
>> > My view is that getters and setters introduce properties
>> and that whatever we do should be appropriate to that model.
>> That is pretty much my view as well.
> See my more recent message for an elaboration of that, but I don't
> think we disagree.

It seems we have all around agreement, at least on this aspect!

>> Just a couple of questions that might need addressing, if it
>> hasn't been dealt with already:
>> - Can you have a property together with a getter and/or a setter?
> Not in ES4, though you can use different namespaces of course:

And not in my thinking about ES3.1 properties either. At any moment in
time, a property is either a data property or a procedural property.
(If it's not redefinable, then it is forever either a data property or
a procedural property.)


More information about the Es4-discuss mailing list