> On 28 Jan 2015, at 00:06, Brendan Eich <bren...@mozilla.org> wrote: > > Axel Rauschmayer wrote: >> It may make sense to add them. Their identifiers would have to be as >> unambiguous as possible, e.g. URIs such as >> "http://ecmascript.org/symbol/foo". > > Symbol.iterator and the other well-known symbols are self-same in all > connected realms. See > http://people.mozilla.org/~jorendorff/es6-draft.html#sec-well-known-symbols. > > So there's no need for this
There is one use case (admittedly a rather hypothetical one): serializing the Symbol.* symbols to a text format (e.g. an encoding in JSON). > (and URLs suck for such things; plus, you probably mean URIs, but I don't > care enough to check!). Yes, I mean URIs(?) -- Dr. Axel Rauschmayer a...@rauschma.de rauschma.de
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss