Cannot assign to read only property '0' of object '[object Array]' when Reverse() code example
Example: Cannot assign to read only property '0' of object '[object Array]'
array = array.slice().sort((a, b) => b.stats.speed - a.stats.speed)
array = array.slice().sort((a, b) => b.stats.speed - a.stats.speed)