You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Array.prototype.sort do not preserve the ordering of elements if the value is equal. Therefore it is not stable.
But based on this rfc update, Array.prototype.sort should be stable.
Is it possible to change the implementation of Array.prototype.sort to be stable? It would be great!
The text was updated successfully, but these errors were encountered:
Array.prototype.sort do not preserve the ordering of elements if the value is equal. Therefore it is not stable.
But based on this rfc update, Array.prototype.sort should be stable.
Is it possible to change the implementation of Array.prototype.sort to be stable? It would be great!
The text was updated successfully, but these errors were encountered: