sort () 方法會原地(in place)對一個陣列的所有元素進行排序,並回傳此陣列。排序不一定是穩定的(stable)。 ... 7. array1.sort();. 8. console.log(array1);.
確定! 回上一頁