数组最大值JS版

来源:互联网 发布:老司机网站 知乎 编辑:程序博客网 时间:2024/06/05 06:47

function getMax(array){     return Math.max.apply(null,array);}

目前知晓的最简方式,未完待续。

原创粉丝点击