Proposal About Private Symbol
michalwadas at gmail.com
Sun Dec 21 03:30:46 PST 2014
> But this is not the core of the problem. The problem is the Proxy
introduced in ES6 enables an object to capture and override almost any
operation on an object. Without operation on object, it becomes very costly
(by using an Array of created objects and compare each of them) to identify
whether a object is faked or valid.
ES6 WeakSet provides you O(1) object check and don't cause memory leak.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss