We're generally against using the same syntax for notably different semantics. The stringification of the key in obj[key] is fundamental to objects. It does not apply to WeakMaps, so wm[obj] seems like a trap. Sometimes o[x] will convert x to string and index, other times it will use an x object as a weak map key.
/be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

