参考链接:https://www.w3cplus.com/javascript/calculate-the-max-min-value-from-an-array.html
Math.min.apply(Math, array);
Math.min(...array);
遍历的方法求最大最小值;