ES3.1 Object static methods rationale document

Ingvar von Schoultz ingvar-v-s at
Wed Jul 16 18:55:14 PDT 2008

Brendan Eich wrote:
> On Jul 16, 2008, at 11:44 AM, Brendan Eich wrote:
>> On Jul 16, 2008, at 11:35 AM, Allen Wirfs-Brock wrote:
>>> I could live with lookup, although I think it focuses the meaning
>>> on the access process rather than on the result. Another, slightly
>>> longer alternative would be "retrieve".
>> What do you say to Ingvar's suggestion of "inspect"?
> Or (drum roll) "describe": describeProperty, which returns a property  
> descriptor.

Another idea (with another drum roll): checkProperty. Really short
and accurately descriptive.

Ingvar von Schoultz

------- (My quirky use of capitals in code comes from my opinion that
reserved and predefined words should all start with lowercase, and
user-defined should all start with uppercase, because this will easily
and elegantly prevent a host of name-collision problems when things
like programming languages are upgraded with new labels.)

More information about the Es4-discuss mailing list