mike.shaver at gmail.com
Fri Jul 22 15:16:12 PDT 2011
Which primitives have own properties? I thought even "str".length
conceptually came from the prototype.
On Jul 22, 2011 6:13 PM, "Axel Rauschmayer" <axel at rauschma.de> wrote:
> To contrast non-method properties with methods:
> - To say that instances usually only have non-method properties.
> - To say that primitives can have non-method properties, but don’t have
their own methods (they borrow them from their wrapper types).
> Maybe “non-method property” is good enough for that purpose.
> On Jul 23, 2011, at 0:00 , Brendan Eich wrote:
>> On Jul 22, 2011, at 2:55 PM, Axel Rauschmayer wrote:
>>> I’m still wondering if there is an established term for a
term for a function-valued property). Possibilities that I see are:
>> Why do you need this term? In what practical sentence would you use it?
>>> - instance variable
>>> - member variable
>>> - field
>>> OO literature sometimes uses the term “attribute” but that is already
taken by ES-262.
>>> Dr. Axel Rauschmayer
>>> axel at rauschma.de
>>> home: rauschma.de
>>> blog: 2ality.com
>>> es-discuss mailing list
>>> es-discuss at mozilla.org
> Dr. Axel Rauschmayer
> axel at rauschma.de
> home: rauschma.de
> blog: 2ality.com
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss