JavaScript 數組sort()方法排序數組的元素。 Syntax: array .sort( compareFunction ); 下麵是參數的詳細信息: compareFunction: 指定一個函數,定義排序次序。
確定! 回上一頁