.sort() does not make any changes to array of objects

后端 未结 0 1016
無奈伤痛
無奈伤痛 2021-01-29 01:32

I\'m trying to sort an array of objects by their distancefromClient property. However, for some reason my sort algorithm does not work?

console.log(e         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题