用javascript如何实现按名称排序简单排序:var arr = [1,8,4,5,9,3]arr.sort()console.log(arr)1,3,4,5,8,9console.log(arr.reverse())9,8,5,4,3,11. 冒泡排序吧2023-05-01JavaScript2620