Internationalization: New spec editor and draft

2015-02-08 Thread Norbert Lindenberg
A note for those who care about ECMAScript internationalization: Rick Waldron has taken over as the editor of the ECMAScript Internationalization API Specification, and has published a new draft of the second edition: http://wiki.ecmascript.org/doku.php?id=globalization:specification_drafts The

Re: Property names for public symbols

2015-02-08 Thread Brendan Eich
Mark Volkmann wrote: 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". That would be the wrong name -- the Tag is specific, particular to the purpose of

Re: @@toStringTag spoofing for null and undefined

2015-02-08 Thread Allen Wirfs-Brock
On Feb 8, 2015, at 5:35 AM, Gary Guo wrote: > No one have comments on this? See the latest (Feb 2) spec. revision: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring ___ es-discuss mailing list es-discuss@mozilla.org h

RE: @@toStringTag spoofing for null and undefined

2015-02-08 Thread Gary Guo
No one have comments on this? From: nbdd0...@hotmail.com To: ljh...@gmail.com Subject: Re: @@toStringTag spoofing for null and undefined Date: Sat, 31 Jan 2015 06:03:17 + CC: es-discuss@mozilla.org Are the checks for these internal slots continuing to exist? Or shall we just

Re: Property names for public symbols

2015-02-08 Thread Axel Rauschmayer
This symbol is about the string tag. > On 08 Feb 2015, at 14:05, Mark Volkmann wrote: > > 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". > > __

Re: Property names for public symbols

2015-02-08 Thread Mark Volkmann
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

Re: Property names for public symbols

2015-02-08 Thread Axel Rauschmayer
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 wrote: > > Axel Rauschmayer wrote: >> Can you explain what you mean by “same-named”? You want `Symbol.for()` to >> have the same casing