On Jun 17, 2015, at 9:18 AM, Mark S. Miller wrote: > [+Allen] > > Can registered Symbols be used as keys in WeakMaps? If so, we have a fatal > unauthorized communications channel that we need to fix in the spec asap!
No, symbols are not objects and the keys of WeakMaps must be objects. BTW, some people have identified use cases where allowing symbols values as WeakMap keys would be useful. Allen _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss