archives

« Bugzilla Issues Index

#1252 — Map/Set Comparator


Per Jan 2013 resolution:


-Map( iterator = undefined, comparator = undefined )
-Set( iterator = undefined, comparator = undefined )

-If the second argument is "is", use "Object.is"
-Otherwise, use defaultComparator ("===")

-Map.defaultComparator( a, b )
-Set.defaultComparator( a, b )


https://github.com/rwldrn/tc39-notes/blob/master/es6/2013-01/jan-31.md#mapset-comparator


fixed in rev 14 editor's draft


in Rev 14 draft