技术标签: js sort(). 数组中存在的两个方法:sort()和reverse(). 直接用sort(),如下:. var array = [3,7,2,8,2,782,7,29,1,3,0,34]; console.log(array.sort());
確定! 回上一頁