How can i approach and align elements in the array?

后端 未结 0 1754
别那么骄傲
别那么骄傲 2021-01-05 13:48

i did try like that

let age = arr.sort(function(a, b) {
    return b -a;
});

it was good for simple array. but .. it\'s not work. in that arr

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