Getter to retrieve a Symbol's [[Description]] field

Allen Wirfs-Brock allen at
Mon Sep 30 14:57:51 PDT 2013

Symbol.prototype.toString uses in in the current draft (see

I suppose there is no reason not to make it directly accessible.  What should be the named of the property? It isn't necessarily a "name" which is why I used [[description]] to name the internal state.  Should that be the property name?


On Sep 30, 2013, at 2:17 PM, Brandon Benvie wrote:

> V8 has currently implemented a "name" getter on Symbol.prototype that returns the value passed to the Symbol function. In the latest spec draft this is referred to as the [[Description]] field but there is no way to access it. Is there intended to be something that allows retrieving this?
> _______________________________________________
> es-discuss mailing list
> es-discuss at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list