TS ,数组的sort排序let union: any = []; union.push(1) union.push(21) ... 从小到大的排序 union.sort(function (A, B) { return A - B; });.
確定! 回上一頁