Set polyfill with a "has" method more efficient than O(n)

Brandon Benvie brandon at
Fri Mar 30 14:35:39 PDT 2012

Or basically, Map/WeakMap/Set IS essentially that exact feature. In the
future when something is needing to be shimmed that needs the ability to do
anything a hash would enable, then those three things will be enough to do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list