private x,y; is syntactically tricky inside an object initializer. The previous consensus was to use private { x, y }
For example here: https://gist.github.com/1332193 (Brendan’s class proposal) https://gist.github.com/1336846 (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 a...@rauschma.de home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss