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
Since toReversed() and toSorted() have been added to Javascript, should the docs reflect the changes and remove the section about mutating the array before sorting and reversing?
Or does it stay just to give an example of cloning before mutating an array ?