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

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Jan 2 09:38:01 PST 2015


On Jan 2, 2015, at 9:18 AM, Michał Wadas wrote:

> What is reason behind restricting entries in global symbol registry to
> be indexed only by strings?

What are the use cases for anything other strings?

Allen


More information about the es-discuss mailing list