Andreas Rossberg (2013-09-30T11:53:24.000Z)
domenic at domenicdenicola.com (2013-10-13T02:46:38.958Z)
On 30 September 2013 13:41, Domenic Denicola <domenic at domenicdenicola.com> wrote: > I only remember Dave briefly mentioning it as one of the potential ways to get a wrapper object; I don't remember a decision to prohibit it. > > On the other hand, this is somewhat attractive, as it prevents getting a symbol wrapper object except inside sloppy-mode methods/accessors added to `Symbol.prototype`, wherein `this` is a wrapper. Which means, unless I missed a case, that in strict mode it is impossible to create a symbol wrapper object. Yes, but there seems nothing inherently risky or error-prone in (purposefully and explicitly) creating a wrapper object. And since you can do it for other primitive types, I think the scales weigh towards consistency on this one.