Got it: public symbols stand for property names and those are typically 
camel-case, starting with a lowercase letter.

> On 08 Feb 2015, at 02:09, Brendan Eich <bren...@mozilla.org> wrote:
> 
> Axel Rauschmayer wrote:
>> Can you explain what you mean by “same-named”? You want `Symbol.for()` to 
>> have the same casing as `Symbol.iterator`?
> 
> No, I mean we would normally use iterator (and had __iterator__ in 
> SpiderMonkey, then '@@iterator' I believe), not ITERATOR. Python's 
> dunder-bracketing doesn't cut it, symbols win. But UPPERCASE loses.
> 
> /be

-- 
Dr. Axel Rauschmayer
a...@rauschma.de
rauschma.de



_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to