DEV Community

Discussion on: How not to sort an array in JavaScript

Collapse
 
philnash profile image
Phil Nash

Yeah, it is a shame that it acts in place as we move to code that attempts to reduce the number of side effects. At least we can work around it, the problem is just remembering to.