📅  最后修改于: 2022-03-11 15:03:59.100000             🧑  作者: Mango
const numbers = [4, 7, 1, 3, 6, 9, 2, 5];
const numbersSort = numbers.sort();
console.log(numbersSort);
//Output:[1, 2, 3, 4, 5, 6, 7, 9]