archives

« Bugzilla Issues Index

#4230 — 22.2.3.25 %TypedArray%.prototype.sort: Sort -0 before +0 ?


22.2.3.25 %TypedArray%.prototype.sort ( comparefn )

TypedArray SortCompare currently does not specify that -0 is sorted before +0 (but implementations are allowed to do so, because the sort is not stable).

I'm not sure if this is an oversight or the expected behaviour.


fixed in rev37 editor's draft

oversight


In Rev37