When sorting an array of primitive values (e.g. strings or numbers), ... const arr = [8, 2, 1, 4, 5, 0]; // Sort in ascending order ...
確定! 回上一頁