Simple maps/sets: parameterize the comparator?

Axel Rauschmayer axel at rauschma.de
Tue Dec 27 07:22:28 PST 2011


http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets

Currently, using Object.is() is hard-coded. But one could allow a comparator function being handed in (with Object.is being the default).

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com





More information about the es-discuss mailing list