摘要: 我们需要获取数组中的最大值或者最小值,可以从以下几个方面考虑: 1. 使用`Math.max()`、`Math.min()`方法 2. 排序之后,获取最大/最小值 阅读全文
posted @ 2019-05-29 18:58 weiqinl 阅读(53689) 评论(0) 推荐(9) 编辑