Removal of WeakMap/WeakSet clear
claude.pache at gmail.com
Tue Dec 9 16:01:56 PST 2014
> Le 5 déc. 2014 à 05:06, Alex Russell <slightlyoff at google.com> a écrit :
> I support Katelyn's suggestion to make clear() neuterable on an instance, perhaps with per-object configuration.
> It leaves the API intact while allowing those with security concerns to address them.
What is the advantage of having `.clear()` on instances instead of the prototype?
for in both cases, you have to opt-out if you don't want it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss