>-----Original Message----- >From: [EMAIL PROTECTED] [mailto:es-discuss- >[EMAIL PROTECTED] On Behalf Of Peter Michaux >Sent: Saturday, November 15, 2008 10:47 PM >To: [email protected] >Subject: Kona [[Getter]] and [[Setter]] descriptions > >From section 8.6.1 ... >Would the following be sufficient? > >[[Getter]] A zero-argument method called each time the property is >read. > >[[Setter]] A one-argument method called each time the property is >assigned. >
I generally agree but propose a slight variant of Peter's proposed definitions: [[Getter]] A zero-argument function that is called to return the property value each time the property read. [[Setter]] A one-argument function that is called with the assigned value each time the property is assigned. The effect of a property's [[Setter]] function may but it not required to have an effect on the value returned by subsequent calls to the property's [[Getter]] function. Allen _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

