Discuss / JavaScript / 练习

练习

Topic source

#1 Created at ... [Delete] [Delete and Lock User]

arr.sort((x, y) => x === y ? 0 : x > y ? 1 : -1);


  • 1

Reply