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