apply将数组转换成参数列表(找最大最小值)

Math.max.apply(null, list.map(item => Number(item.seq))

 

posted on 2021-07-15 11:41  pcyosh  阅读(53)  评论(0)    收藏  举报

导航