Why does Symbol.for and Symbol.keyFor are limited to strings?

Gary Guo nbdd0121 at hotmail.com
Fri Jan 2 22:03:56 PST 2015


Why not? Symbol's [[Description]] internal slot is string

> Date: Fri, 2 Jan 2015 18:18:55 +0100
> Subject: Why does Symbol.for and Symbol.keyFor are limited to strings?
> From: michalwadas at gmail.com
> To: es-discuss at mozilla.org
> 
> What is reason behind restricting entries in global symbol registry to
> be indexed only by strings?
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150103/3aebc124/attachment.html>


More information about the es-discuss mailing list