shortcuts for defining block-local private names, plays nicely with @foo syntax

Axel Rauschmayer axel at
Mon Jan 23 19:43:26 PST 2012

> Also, the square bracket preference also currently shows up in the object literal computed property key proposal so we already have obj[privateNameValue] pattern manifesting itself as new ES6 syntax.

Would [] in object literals still make sense if [] was to become a data-only operator?

Dr. Axel Rauschmayer
axel at


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list