const numArr = [2, 4, 8, 609545, 2, 8, 4, 1, 10, 123, 99];
const strArr = ["what", "We", "have", "lost", "will", "never"];
console.log(strArr.sort());
console.log(numArr.sort());
ITMISS
相关分类