Rick Waldron (2014-02-11T17:35:04.000Z)
On Tue, Feb 11, 2014 at 2:40 PM, Claude Pache <claude.pache at gmail.com>wrote:

> According to the current version of the ES6 spec [1], `Symbol(desc)`, when
> `desc` is not `undefined`, coerces its argument to a string and uses it as
> a description for a newly created symbol. In particular, if `sym` is a
> symbol, `Symbol(sym)` throws a TypeError (it can't be coerced to string).
>
> Intuitively, I would expect that `Symbol(sym)` just returns `sym`, just
> like `Number(num)` returns `num`, or, more generally, just like
> `Primitive(x)` casts its argument to the corresponding primitive.
>

Intuitively, I wouldn't expect anything else but this--I think this is just
a minor authoring oversight. Please file at https://bugs.ecmascript.org/

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140211/4ba68925/attachment-0001.html>
domenic at domenicdenicola.com (2014-02-18T04:30:22.963Z)
Intuitively, I wouldn't expect anything else but this--I think this is just
a minor authoring oversight. Please file at https://bugs.ecmascript.org/