Removal of WeakMap/WeakSet clear

Tab Atkins Jr. jackalmage at
Wed Dec 3 09:17:19 PST 2014

On Wed, Dec 3, 2014 at 9:10 AM, Michał Wadas <michalwadas at> wrote:
> The same argument can be used for removing array.length setter - some code
> can remove all entries from array important for your application.

No it's not, because Arrays are open to editing in all ways.  They
don't have one single place, impossible to otherwise reproduce, that
is the sole channel for messing with the Array contents.


More information about the es-discuss mailing list