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

Brandon Benvie brandon at brandonbenvie.com
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
it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120330/46b2e4be/attachment.html>


More information about the es-discuss mailing list