mike

Results 2 comments of mike

留下了没技术的眼泪,求大佬出详细答案。

let arr = [2, 15, 8, 29, 102, 22]; arr.sort (( a, b ) => { return b - a; }) console.log(arr); // [ 102, 29, 22, 15, 8, 2...