JS中的数组的sort方法使用示例 复制代码 代码如下: var values=[0,1,5,10,15]; values sort(); alert(values); 输出0,1,10,15,5 这 JavaScript 2022-04-26 199 点赞 3 评论 301 浏览