Deleting Getters and Setters (was Re: Controlling DontEnum...)

Mike Shaver mike.shaver at
Mon Mar 17 15:24:51 PDT 2008

On Mon, Mar 17, 2008 at 6:14 PM, Brendan Eich <brendan at> wrote:
>  With only SpiderMonkey supporting __defineGetter__, it's not widely
>  used. The canonical JS memoization pattern, presented nicely here:

Yeah, I would expect that only properties of new objects are lazily
defined that way, using the 2' form from above.


More information about the Es4-discuss mailing list