usable enough private names (was: Re: Using Object Literals as Classes)

Axel Rauschmayer axel at
Fri Mar 16 22:50:28 PDT 2012

private x,y; is syntactically tricky inside an object initializer. The previous consensus was to use
     private { x, y }

For example here: (Brendan’s class proposal) (my class proposal)

On Mar 16, 2012, at 22:24 , Domenic Denicola wrote:

> Yes, this looks pretty solid, although I can't remember seeing it anywhere.

Dr. Axel Rauschmayer
axel at


More information about the es-discuss mailing list