js求数组最大值方法汇总原生方法:function fnmax(array) {var max = array[0]for(var i = 1 i < array.length - 1i++) {if (array[i] > max) {m2023-03-01JavaScript150