Mark Volkmann (2015-02-08T13:05:20.000Z)
I'm curious why one of the public symbols has a name that ends with "Tag"
("toStringTag"), but the others don't (such as "toPrimitive"). Maybe
"toStringTag" should be changed to "toString".

 __  __
/  \/  \
\      /ark
               Object Computing, Inc.
  \  /
   \/olkmann

On Sun, Feb 8, 2015 at 4:20 AM, Axel Rauschmayer <axel at rauschma.de> wrote:

> 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 <brendan at 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
> axel at rauschma.de
> rauschma.de
>
>
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150208/bfd3311a/attachment.html>
d at domenic.me (2015-02-17T20:21:56.543Z)
I'm curious why one of the public symbols has a name that ends with "Tag"
("toStringTag"), but the others don't (such as "toPrimitive"). Maybe
"toStringTag" should be changed to "toString".