On 15 September 2011 17:47, Allen Wirfs-Brock <[email protected]> wrote: > No the normal use case for WeakMaps is simply to make associations between > objects and arbitrary values. The special GC behavior is necessary to avoid > memory leaks, but that is a quality of implementation issue, not a use case.
Just like with tail calls, certain space optimizations are semantically relevant, because code will rely on them and potentially break if they are not performed. /Andreas _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

